summaryrefslogtreecommitdiff
path: root/zen/legacy_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/legacy_compiler.h')
-rw-r--r--zen/legacy_compiler.h25
1 files changed, 18 insertions, 7 deletions
diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h
index 82c404d8..ad5442fe 100644
--- a/zen/legacy_compiler.h
+++ b/zen/legacy_compiler.h
@@ -7,26 +7,37 @@
#ifndef LEGACY_COMPILER_H_839567308565656789
#define LEGACY_COMPILER_H_839567308565656789
+#include <version>
+/* C++ standard conformance:
+ https://en.cppreference.com/w/cpp/feature_test
+ https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros
+ https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
+
+ MSVC https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance
+
+ GCC https://gcc.gnu.org/projects/cxx-status.html
+ libstdc++ https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
+
+ Clang https://clang.llvm.org/cxx_status.html#cxx20
+ libc++ https://libcxx.llvm.org/cxx2a_status.html */
-//https://en.cppreference.com/w/cpp/feature_test
-//https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros
-//https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
-//https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
namespace std
{
+
+
}
//---------------------------------------------------------------------------------
//constinit, consteval
- #define constinit2 constinit //GCC has it
+ #define constinit2 constinit //GCC, clang have it
#define consteval2 consteval //
namespace zen
{
-double from_chars(const char* first, const char* last);
-const char* to_chars(char* first, char* last, double num);
+double fromChars(const char* first, const char* last);
+const char* toChars(char* first, char* last, double num);
}
#endif //LEGACY_COMPILER_H_839567308565656789
bgstack15