Add a EIGEN_MAX_CPP_VER option to limit the C++ version to be used.

This commit is contained in:
Gael Guennebaud
2016-05-20 14:44:28 +02:00
parent c028d96089
commit 998f2efc58
3 changed files with 30 additions and 16 deletions

View File

@@ -63,6 +63,9 @@ run time. However, these assertions do cost time and can thus be turned off.
macro if you want to do something else, like throwing an exception.
- \b EIGEN_MPL2_ONLY - disable non MPL2 compatible features, or in other words disable the features which
are still under the LGPL.
- \b EIGEN_MAX_CPP_VER - disables usage of C++ features requiring a version greater than EIGEN_MAX_CPP_VER.
Possible values are: 03, 11, 14, 17, etc. If not defined (the default), %Eigen enables all features supported
by the compiler.
\section TopicPreprocessorDirectivesPerformance Alignment, vectorization and performance tweaking