I have some difficulties understanding how Boost.MultiIndex is implemented. Lets say I have the following:
typedef multi_index_container<
employee,
Actually I do not think it is.
Based on what is located in detail/node_type.hpp
. It seems to me that like a std::map
the node will contain both the value and the index. Except that in this case the various indices differ from one another and thus the node interleaving would actually differ depending on the index you're following.
I am not sure about this though, Boost headers are definitely hard to parse, however it would make sense if you think in term of memory:
I would appreciate a definitive answer though, if anyone knows about the gore.