diff options
Diffstat (limited to 'zencore')
| -rw-r--r-- | zencore/include/zencore/intmath.h | 1 | ||||
| -rw-r--r-- | zencore/include/zencore/refcount.h | 1 | ||||
| -rw-r--r-- | zencore/include/zencore/string.h | 1 | ||||
| -rw-r--r-- | zencore/include/zencore/zencore.h | 1 |
4 files changed, 1 insertions, 3 deletions
diff --git a/zencore/include/zencore/intmath.h b/zencore/include/zencore/intmath.h index b4a0b6796..f24caed6e 100644 --- a/zencore/include/zencore/intmath.h +++ b/zencore/include/zencore/intmath.h @@ -5,7 +5,6 @@ #include "zencore.h" #include <stdint.h> -#include <concepts> ////////////////////////////////////////////////////////////////////////// diff --git a/zencore/include/zencore/refcount.h b/zencore/include/zencore/refcount.h index 5c8b70ef6..0324b94cc 100644 --- a/zencore/include/zencore/refcount.h +++ b/zencore/include/zencore/refcount.h @@ -5,7 +5,6 @@ #include "zencore.h" #include <compare> -#include <concepts> namespace zen { diff --git a/zencore/include/zencore/string.h b/zencore/include/zencore/string.h index dba6843cf..1afacc089 100644 --- a/zencore/include/zencore/string.h +++ b/zencore/include/zencore/string.h @@ -9,7 +9,6 @@ #include <string.h> #include <charconv> #include <codecvt> -#include <concepts> #include <optional> #include <span> #include <string_view> diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index 12eacfb00..0b45b12cf 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -123,6 +123,7 @@ // At the time of writing only ver >= 13 of LLVM's libc++ has an implementation // of std::integral. Some platforms like Ubuntu and Mac OS are still on 12. #if defined(__cpp_lib_concepts) +# include <concepts> template <class T> concept Integral = std::integral<T>; template <class T> concept SignedIntegral = std::signed_integral<T>; template <class T> concept UnsignedIntegral = std::unsigned_integral<T>; |