Re: C++11 move constructors



On Fri, 2012-11-23 at 14:50 -0500, Tristan Matthews wrote:
> 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?

Yes, I think that would be best.

murrayc murrayc com
www.murrayc.com
www.openismus.com




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