blob: 49479c5755b169ee7a94c834bee7386fefd0282d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
// THANK YOU APPLE FOR YOUR UTTER DISREGARD FOR C++20
#if __cpp_lib_optional >= 202106L
#define OVDL_OPTIONAL_CONSTEXPR constexpr
#else
#define OVDL_OPTIONAL_CONSTEXPR inline
#endif
#if __cpp_lib_constexpr_vector >= 201907L
#define OVDL_VECTOR_CONSTEXPR constexpr
#else
#define OVDL_VECTOR_CONSTEXPR inline
#endif
|