Antonio Sanchez 2468253c9a Define EIGEN_CPLUSPLUS and replace most __cplusplus checks.
The macro `__cplusplus` is not defined correctly in MSVC unless building
with the the `/Zc:__cplusplus` flag. Instead, it defines `_MSVC_LANG` to the
specified c++ standard version number.

Here we introduce `EIGEN_CPLUSPLUS` which will contain the c++ version
number both for MSVC and otherwise.  This simplifies checks for supported
features.

Also replaced most instances of standard version checking via `__cplusplus`
with the existing `EIGEN_COMP_CXXVER` macro for better clarity.

Fixes: #2170
2021-03-05 18:33:18 +00:00
..
2020-10-14 01:56:42 +00:00
2020-11-16 12:59:13 +00:00
2020-07-23 13:51:39 +02:00
2018-09-18 04:15:01 -04:00
2016-07-26 12:12:53 +02:00
2016-07-26 23:51:43 +02:00
2019-01-17 10:35:50 +01:00
2018-09-18 04:15:01 -04:00
2020-11-30 10:53:29 +00:00
2008-11-24 13:40:43 +00:00
2019-01-23 10:35:06 +01:00
2018-03-11 10:01:44 -04:00