From f0aeda7c8ab17177768e7aa3d379dc055a2de511 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sat, 2 Oct 2021 12:59:33 +0200 Subject: [PATCH] Check for missing standard library definitions in Yerbacon.hpp --- src/headers/Yerbacon.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/headers/Yerbacon.hpp b/src/headers/Yerbacon.hpp index e1ee6a0..4be8a6f 100644 --- a/src/headers/Yerbacon.hpp +++ b/src/headers/Yerbacon.hpp @@ -10,6 +10,14 @@ #error "A valid std::threads implementation is required" #endif +#include +#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 #include #include