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.
STDX_PRAGMA
compiler.hpp
1 parent 66f25a0 commit 5248cd7Copy full SHA for 5248cd7
include/stdx/compiler.hpp
@@ -43,3 +43,10 @@
43
#define LIFETIMEBOUND
44
#endif
45
46
+
47
+#define STDX_DO_PRAGMA(X) _Pragma(#X)
48
+#ifdef __clang__
49
+#define STDX_PRAGMA(X) STDX_DO_PRAGMA(clang X)
50
+#else
51
+#define STDX_PRAGMA(X) STDX_DO_PRAGMA(GCC X)
52
+#endif
include/stdx/utility.hpp
@@ -186,13 +186,6 @@ constexpr auto is_aligned_with = [](auto v) -> bool {
186
#define FWD(x) std::forward<decltype(x)>(x)
187
188
189
-#define STDX_DO_PRAGMA(X) _Pragma(#X)
190
-#ifdef __clang__
191
-#define STDX_PRAGMA(X) STDX_DO_PRAGMA(clang X)
192
-#else
193
-#define STDX_PRAGMA(X) STDX_DO_PRAGMA(GCC X)
194
-#endif
195
-
196
#ifndef CX_VALUE
197
#define CX_VALUE(...) \
198
[] { \
0 commit comments