Check for missing standard library definitions in Yerbacon.hpp

This commit is contained in:
Username404 2021-10-02 12:59:33 +02:00
parent 525aa0db88
commit f0aeda7c8a
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,14 @@
#error "A valid std::threads implementation is required" #error "A valid std::threads implementation is required"
#endif #endif
#include <version>
#if not defined(__cpp_lib_concepts) || not defined(__cpp_lib_integer_comparison_functions)
#error "The current standard library is incomplete"
#endif
#ifndef __cpp_using_enum
#error "The "using enum" syntax is not supported by this compiler"
#endif
#include <exception> #include <exception>
#include <string_view> #include <string_view>
#include <string> #include <string>