
6 Aug
2011
6 Aug
'11
2:42 a.m.
Scott McMurray wrote:
On Fri, Aug 5, 2011 at 19:05, Michel MORIN <mimomorin@gmail.com> wrote:
Or, I would want `uncompared_push_back` (just filling the flat_* container without sorting) and `sort` functions.
Can we do this with move semantics instead?
Partially yes. But, partially no: when using stack-based allocator (or stack-based container as the underlying implementation of flat_* containers), the overhead of `move` is non-negligible. Regards, Michel