
27 May
2010
27 May
'10
8:04 p.m.
Am 27.05.2010 21:28, schrieb Thomas Klimpel:
The statement "return x" must make some constructor call. As x is not a temporary, the compiler must call the copy constructor. It will probably work if you write "return boost::move(x)" or "return X()".
thx - maybe the docu should be more clear in this point