
24 Jun
2010
24 Jun
'10
3:11 p.m.
What about maps using std::map (e.g. using boost::make_assoc_property_map(component)), are they implemented inefficient then?
Sorry, just found this in the docs: Note that the adaptor only retains a reference to the container, so the lifetime of the container must encompass the use of the adaptor. So make_assoc_property_map will be OK with respect to non-ownership. Regards, Barend