Re: C++11 move constructors
- From: Murray Cumming <murrayc murrayc com>
- To: Tristan Matthews <le businessman gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: C++11 move constructors
- Date: Fri, 23 Nov 2012 21:13:40 +0100
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]