On 30/04/21 12:43 -0500, Tim Song via Libstdc++ wrote:
On Fri, Apr 30, 2021 at 12:11 PM Patrick Palka via Libstdc++ <libstd...@gcc.gnu.org> wrote:+ template<typename _Iter> + _Tp& + _M_emplace_deref(const _Iter& __i) + { + this->reset(); + return this->emplace(*__i); + }This incurs a move, avoiding of which is the sole reason for emplace-deref's existence.
I completely forgot about that, even though we only discussed it last week. Thanks, Tim.