Re: [eigen] Dynamic exception specifications are deprecated in C++11 mode and other warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Il giorno 23/ago/2014, alle ore 16:11, Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx> ha scritto:

> On 23.08.2014 15:28, Nicola Gigante wrote:
>> The last time I've looked, I've seen some move constructor conditionally
>> declared in C++11 mode, but now I can't find them. How do you support
>> move semantics in C++11 mode without testing the language version?
> 
> For GCC we do check the value of __cplusplus, but we do not have any C++11 support in the 3.2 branch (that might be the reason, you couldn't find any ...)
> Here is were we determine if we have RValue (i.e. 'move') support:
> https://bitbucket.org/eigen/eigen/src/51c2effe19bd54186b8b39c34004ad3f28d7dbdd/Eigen/src/Core/util/Macros.h?at=default#cl-121
> 
> 
> Regarding your original question, we already define some compiler-dependent attributes/declspecs in src/Core/util/Macros.h and I would not object introducing EIGEN_NORETURN and EIGEN_NOTHROW macros (at least in the dev-branch).
> The 3.2 branch should generally only receive bug-fixes. We could still introduce these macros, but there are generally no plans to make it support C++1x features.
> 

Ok.
I'm not tied to the 3.2 branch for any particular reason, I've just downloaded
the latest version. Do you suggest to switch to follow the development branch?


> 
> Christoph

Bye,
Nicola


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/