From 8a27fa9c617533e76673ce61a65e2ba869b52208 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 31 Aug 2020 20:07:13 -0400 Subject: add upstream 11.1 --- zen/legacy_compiler.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'zen/legacy_compiler.h') diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h index 16e22d03..82c404d8 100644 --- a/zen/legacy_compiler.h +++ b/zen/legacy_compiler.h @@ -7,9 +7,6 @@ #ifndef LEGACY_COMPILER_H_839567308565656789 #define LEGACY_COMPILER_H_839567308565656789 - #include //C++20 - - //https://en.cppreference.com/w/cpp/feature_test @@ -18,12 +15,12 @@ //https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html namespace std { - +} //--------------------------------------------------------------------------------- - - -} +//constinit, consteval + #define constinit2 constinit //GCC has it + #define consteval2 consteval // namespace zen -- cgit