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
..
2008-08-31 13:32:29 +00:00
2011-02-06 12:43:01 -05:00
2010-04-22 18:27:13 -04:00
2010-12-27 16:35:25 +00:00
2010-04-22 18:27:13 -04:00
2011-02-06 12:43:01 -05:00
2017-02-11 15:31:28 +01:00
2010-12-30 04:52:20 -05:00
2017-02-11 15:31:28 +01:00
2010-12-30 04:52:20 -05:00
2019-10-31 11:36:27 -05:00
2013-08-02 22:33:12 +01:00
2016-07-12 16:47:39 +02:00
2016-07-12 16:47:39 +02:00
2018-06-07 16:09:22 +02:00
2010-06-30 11:26:31 -04:00
2010-06-30 11:26:31 -04:00
2010-06-30 11:26:31 -04:00
2010-06-30 11:26:31 -04:00
2010-08-04 21:42:32 -04:00
2013-07-13 12:36:55 +02:00
2016-09-23 10:26:08 +02:00
2014-09-27 23:25:58 +01:00
2014-09-27 23:25:58 +01:00
2015-09-03 14:14:14 +02:00
2015-02-16 17:21:16 +01:00
2014-09-27 23:25:58 +01:00
2014-09-27 23:25:58 +01:00
2015-02-16 17:21:16 +01:00
2018-06-07 15:56:20 +02:00
2021-03-05 18:33:18 +00:00
2012-08-17 14:49:18 +01:00
2012-08-17 14:49:18 +01:00
2010-06-25 10:04:10 -04:00
2011-09-10 09:18:18 +01:00
2011-09-10 09:18:18 +01:00
2010-06-26 14:00:00 -04:00
2010-06-28 00:42:57 +02:00
2010-06-28 00:42:57 +02:00
2010-06-28 13:30:10 +02:00
2010-06-26 14:00:00 -04:00
2010-07-12 12:02:31 +01:00
2010-06-25 10:04:35 -04:00
2010-06-25 10:04:35 -04:00
2010-07-12 22:45:57 +01:00
2010-07-12 22:45:57 +01:00
2010-07-12 22:45:57 +01:00
2010-07-12 22:45:57 +01:00
2010-07-12 22:45:57 +01:00
2010-07-12 22:45:57 +01:00
2020-10-09 07:51:36 +00:00
2010-10-18 08:44:27 -04:00
2010-07-14 10:16:12 +01:00
2010-10-18 08:44:27 -04:00
2010-07-14 10:16:12 +01:00
2010-06-25 10:04:10 -04:00
2010-07-08 17:42:23 +01:00
2011-11-24 17:30:55 +01:00
2010-07-08 17:42:23 +01:00
2010-07-08 17:42:23 +01:00
2010-07-11 11:01:17 +02:00
2010-07-23 19:20:10 +01:00
2010-10-18 09:09:30 -04:00
2015-09-28 11:55:36 +02:00
2010-07-08 17:42:23 +01:00
2010-07-08 17:42:23 +01:00
2018-06-07 16:09:22 +02:00
2010-06-25 10:04:10 -04:00
2016-07-04 17:18:26 +02:00
2010-06-30 10:11:55 -04:00
2010-06-30 10:11:55 -04:00
2010-06-30 10:11:55 -04:00
2010-06-30 10:11:55 -04:00
2015-02-16 17:21:16 +01:00
2010-06-30 10:11:55 -04:00
2011-11-02 14:18:20 +00:00
2010-06-30 19:27:30 -04:00
2018-04-11 10:46:11 +02:00