Re: C++11 move constructors



Am 23.11.2012 20:50, schrieb Tristan Matthews:
> 2012/11/23 Murray Cumming <murrayc murrayc com>:
>> Maybe we could add C++11 move constructors to the gtkmm classes,
>> where appropriate, inside ifdefs to prevent them from breaking the
>> build when C++11 is not enabled/supported by the compiler.
> 
> How would you test for C++11? An AC_COMPILE_IFELSE test that builds
> a class with a move constructor?
> 
> -Tristan
> 

That seems to be the only sensible way. Of course, this also means we
have to test for each C++11-feature independently.

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]