
Is it somehow possible to coax boost::multimap to store data contiguously, i.e. that all multimap elements are stored contiguously, without gaps between them, and all in the same memory block?

AMDG anony wrote:
Is it somehow possible to coax boost::multimap to store data contiguously, i.e. that all multimap elements are stored contiguously, without gaps between them, and all in the same memory block?
I don't think there is a boost::multimap. Would boost::container::flat_multimap be what you're looking for? http://www.boost.org/doc/libs/1_43_0/boost/interprocess/containers/container... In Christ, Steven Watanabe

I don't think there is a boost::multimap. Would boost::container::flat_multimap be what you're looking for? http://www.boost.org/doc/libs/1_43_0/boost/interprocess/containers/container...
I wasn't thinking clearly, sorry... I meant Boost.Multiarray: http://www.boost.org/doc/libs/1_43_0/libs/multi_array/doc/index.html Is it possible to store Boost.Multiarray elements contiguously?

AMDG anony wrote:
I don't think there is a boost::multimap. Would boost::container::flat_multimap be what you're looking for? http://www.boost.org/doc/libs/1_43_0/boost/interprocess/containers/container...
I wasn't thinking clearly, sorry... I meant Boost.Multiarray:
http://www.boost.org/doc/libs/1_43_0/libs/multi_array/doc/index.html
Is it possible to store Boost.Multiarray elements contiguously?
AFAIK, they are stored contiguously. In Christ, Steven Watanabe

anony wrote:
AFAIK, they are stored contiguously.
The documentation states, they can be stored just like C stores them, which some people in this newsgroup believe may be non-contiguous.
Who claimed such a thing? An array is always stored contiguously; an array of arrays is no different in that regard.
participants (3)
-
anony
-
Mathias Gaunard
-
Steven Watanabe