We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea85aa commit ab6be63Copy full SHA for ab6be63
inst/include/Rcpp/platform/compiler.h
@@ -70,13 +70,10 @@
70
#define HAS_STATIC_ASSERT
71
#endif
72
#elif defined(__GNUC__)
73
+ // given the check about __cplusplus we can unconditionally define
74
#define RCPP_USING_CXX11
- #if __has_feature(cxx_variadic_templates)
75
- #define HAS_VARIADIC_TEMPLATES
76
- #endif
77
- #if __has_feature(cxx_static_assert)
78
- #define HAS_STATIC_ASSERT
79
+ #define HAS_VARIADIC_TEMPLATES
+ #define HAS_STATIC_ASSERT
80
81
82
// Check C++0x headers (TODO remove when no longer needed below)
0 commit comments