|
Boost Users : |
Subject: [Boost-users] [boost-users][container] associative placement insertion
From: Cromwell Enage (sponage_at_[hidden])
Date: 2011-12-10 00:41:31
Hi, all!
I'm wondering how placement insertion works for pair-associative Boost.Container types.
For example, given:
//[ex_code
struct D {
D(char,char) {}
// Insert Boost.Move awareness here...
};
boost::container::map<int,D> my_map;
//]
Will my_map.emplace(0, 't', 'p') call D('t', 'p') and move the object into the map?
Will Boost.Unordered work the same way?
TIA!
Cromwell D. Enage
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