This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]