
17 Dec
2011
17 Dec
'11
5:16 a.m.
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
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?
I've answered these questions but ran into another.
Boost.Unordered `emplace()` calls return `std::pair