diff options
author | B Stack <bgstack15@gmail.com> | 2019-10-17 15:59:39 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-10-17 15:59:39 -0400 |
commit | 5b604dd360ffc162f163962ccb2b1af109a5f93f (patch) | |
tree | 65292208a81994782e1c16dd84dfcdcc221d0cd7 /zen/legacy_compiler.h | |
parent | Merge branch '10.16' into 'master' (diff) | |
download | FreeFileSync-5b604dd360ffc162f163962ccb2b1af109a5f93f.tar.gz FreeFileSync-5b604dd360ffc162f163962ccb2b1af109a5f93f.tar.bz2 FreeFileSync-5b604dd360ffc162f163962ccb2b1af109a5f93f.zip |
add upstream 10.17
Diffstat (limited to 'zen/legacy_compiler.h')
-rw-r--r-- | zen/legacy_compiler.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h index 5b69ed94..d0b4d3fe 100644 --- a/zen/legacy_compiler.h +++ b/zen/legacy_compiler.h @@ -16,6 +16,10 @@ namespace std +#if __cpp_lib_span + #error get rid of workarounds +#endif + //requires C++20! until then, this should suffice... template <class T> class span @@ -49,4 +53,10 @@ private: }; } +namespace zen +{ +double from_chars(const char* first, const char* last); +const char* to_chars(char* first, char* last, double num); +} + #endif //LEGACY_COMPILER_H_839567308565656789 |