[Patch, libstdc++/64584, libstdc++/64585] Clear basic_regex after imbue and make assign exception tolerant

Tim Shen timshen@google.com
Sun Jan 18 00:53:00 GMT 2015


On Sat, Jan 17, 2015 at 4:24 PM, Jonathan Wakely <jwakely@redhat.com> wrote:
> Initializing a pointer from another pointer just copies the value and
> has no way of doing anything different whether the source is an rvalue
> or an lvalue.

Then "std::move on a pointer definitely doesn't pessimize" is true.
Here I read pessimize as "less efficient".


-- 
Regards,
Tim Shen



More information about the Libstdc++ mailing list