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, v3] std::thread ctor passes function pointer by reference to _M_make_shared_data.


> By explicitly specifying the template argument to the
> _M_make_shared_data call, pointers are passed by value and
> rvalue/lvalue-refs are still forwarded correctly.
> 
> Tested x86_64, ok for trunk?

OK, thanks.

-benjamin


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