http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
--- Comment #5 from Jonathan Wakely 2012-05-03
08:30:38 UTC ---
For that preprocessed source the difference is in the Bind_simple constructor,
for 4.6 it is:
Bind_simple::Bind_simple(const Callable&) [with Callable =
background_hello] (struct Bi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
--- Comment #4 from Jonathan Wakely 2012-05-03
08:22:51 UTC ---
Created attachment 27301
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27301
preprocessed source
This preprocessed source was created by G++ version 4.6.3 20120306 (Red Hat
4.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
--- Comment #3 from Jonathan Wakely 2012-05-03
01:14:28 UTC ---
If I change some of the functions to forward lvalues instead of using perfect
forwarding then I see one call to a copy constructor
e.g. just changing the thread::Impl ctor to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|NEW
CC|