"Sliwa, Przemyslaw (London)" ha escrito:
What is better?What is the added value by using 2D multi index container vs. vector<vector<T> >? Can anyone explain me the difference quickly?Thanks for helpPshemek
Hello Pshemek, I don't really know what a 2D multi-index container
is
supposed to be or how can one devise a multi-index structure comparable
with
a vector<vector<T> >.
Aren't you by chance referring to Boost.MultiArray?
http://boost.org/libs/multi_array/doc/index.html
This lib does indeed provide data structures resembling vector of vectors
in a number of ways, while being more efficient and providing nicer
syntax
and extended functionality.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo