aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/PreprocessorDirectives.dox
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-20 14:44:28 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-20 14:44:28 +0200
commit998f2efc58b10dbe24a2514f3563421398548704 (patch)
treed0aa0ebb0957beab3dd3aa61150778b30f9ef285 /doc/PreprocessorDirectives.dox
parentc028d9608914f3ef56cea19cba9797a02f8e4dd8 (diff)
Add a EIGEN_MAX_CPP_VER option to limit the C++ version to be used.
Diffstat (limited to 'doc/PreprocessorDirectives.dox')
-rw-r--r--doc/PreprocessorDirectives.dox3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/PreprocessorDirectives.dox b/doc/PreprocessorDirectives.dox
index 14e84bc20..2d9f9b060 100644
--- a/doc/PreprocessorDirectives.dox
+++ b/doc/PreprocessorDirectives.dox
@@ -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