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
..
2019-03-14 10:08:12 +01:00
2016-05-18 14:03:03 +02:00
2018-11-23 15:37:09 +01:00
2021-02-25 08:04:05 -08:00
2019-12-11 18:22:57 +00:00
2021-01-27 23:32:12 +01:00
2021-01-27 23:32:12 +01:00
2021-01-07 12:48:40 -08:00
2021-01-05 10:41:25 -08:00
2021-01-21 09:44:42 -08:00
2019-01-15 10:51:03 +01:00
2018-11-23 15:12:06 +01:00