Skip to content
Snippets Groups Projects
Verified Commit db587f01 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: add EIGENPY_WITH_CXX macros

parent 55aa812b
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,18 @@ ...@@ -13,6 +13,18 @@
#define EIGENPY_MSVC_COMPILER #define EIGENPY_MSVC_COMPILER
#endif #endif
#if (__cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703))
#define EIGENPY_WITH_CXX17_SUPPORT
#endif
#if (__cplusplus >= 201402L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201403))
#define EIGENPY_WITH_CXX14_SUPPORT
#endif
#if (__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600))
#define EIGENPY_WITH_CXX11_SUPPORT
#endif
#define EIGENPY_STRING_LITERAL(string) #string #define EIGENPY_STRING_LITERAL(string) #string
#define EIGENPY_STRINGIZE(string) EIGENPY_STRING_LITERAL(string) #define EIGENPY_STRINGIZE(string) EIGENPY_STRING_LITERAL(string)
#define _EIGENPY_PPCAT(A, B) A##B #define _EIGENPY_PPCAT(A, B) A##B
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment