[PATCH, v3] std::thread ctor passes function pointer by reference to _M_make_shared_data.

Benjamin Kosnik bkoz@redhat.com
Sun Feb 8 08:24:00 GMT 2009


> 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



More information about the Libstdc++ mailing list