
6 Jun
2008
6 Jun
'08
8:33 p.m.
Ovanes Markarian wrote:
std::map has a constructor which accepts iterator to the begin and the end of the range being inserted at construction time. You can use them to insert items at construction time.
Then there's boost::assign::map_list_of()... http://www.boost.org/doc/libs/1_35_0/libs/assign/doc/index.html#map_list_of