M
mcassiani
Hi,
I need use map faster as possible (I store in the map data about open
network connections).
First a question, this code fragment is from "The C++ Programming........
3rd edition by B. Stroustrup"
m[k] is equivalent to (*(m.insert(make_pair(k,V()))).first)).second
The work of V() is to create a void base tape? if so, the expression:
m.insert(make_pair(k,objItem))
where objItem is my object is a better choice?
thanks
Marco C.
I need use map faster as possible (I store in the map data about open
network connections).
First a question, this code fragment is from "The C++ Programming........
3rd edition by B. Stroustrup"
m[k] is equivalent to (*(m.insert(make_pair(k,V()))).first)).second
The work of V() is to create a void base tape? if so, the expression:
m.insert(make_pair(k,objItem))
where objItem is my object is a better choice?
thanks
Marco C.