Martin Ronner Free People Check 

( I'm Martin Ronner)

Loading...

Images of Martin Ronner

(0 from 0 )

News

[SOLVED] c++ std::map question about iterator order

tutel.me
@Martin Ronner :22:29. What about using a vector for the keys in the original order and a map for the fast access to the data? Something like this: vector<string> keys; map<string, Data*> values; // obtaining values ... keys.push_back("key-01"); values["key-01"] = new Data(...); keys.push_back("key-02"); ...
Save as document
+1