multiple key containers??
ATL / WTL / STL
2
Posts
2
Posters
0
Views
1
Watching
-
say i have a data that i should be able to lookup using EITHER a int key or a string key..i repeat EITHER.. what kind of container should i be using
Boost.multi_index[^] should do the job. Otherwise, you'll need to have a container for the data and separate containers for the mappings (that's what multi_index does internally, I believe). Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'