|
Boost Users : |
From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-03-21 02:40:30
"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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net