Boost logo

Boost Users :

From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-06-06 16:33:33


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


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