4#ifndef TETL_VERSION_LANGUAGE_STANDARD_HPP
5#define TETL_VERSION_LANGUAGE_STANDARD_HPP
7#include <etl/_config/all.hpp>
25 return static_cast<
unsigned char>(lhs) ==
static_cast<
unsigned char>(rhs);
35 return static_cast<
unsigned char>(lhs) <
static_cast<
unsigned char>(rhs);
40 return static_cast<
unsigned char>(lhs) <=
static_cast<
unsigned char>(rhs);
45 return static_cast<
unsigned char>(lhs) >
static_cast<
unsigned char>(rhs);
50 return static_cast<
unsigned char>(lhs) >=
static_cast<
unsigned char>(rhs);
53#if defined(_MSVC_LANG)
54 #define TETL_CPP_STANDARD_FULL _MSVC_LANG
56 #define TETL_CPP_STANDARD_FULL __cplusplus
59#if TETL_CPP_STANDARD_FULL > 202302L
60 #define TETL_CPP_STANDARD 26
63#elif TETL_CPP_STANDARD_FULL > 202002L
64 #define TETL_CPP_STANDARD 23
68 #error "Unsupported C++ language standard. TETL requires at least C++23"
Definition adjacent_find.hpp:9
constexpr auto operator<=(language_standard lhs, language_standard rhs) noexcept -> bool
Definition language_standard.hpp:38
constexpr auto operator>(language_standard lhs, language_standard rhs) noexcept -> bool
Definition language_standard.hpp:43
language_standard
Enumeration for the currently selected C++ standard version. Unlike the official macro __cplusplus,...
Definition language_standard.hpp:15
constexpr auto operator>=(language_standard lhs, language_standard rhs) noexcept -> bool
Definition language_standard.hpp:48
constexpr auto operator==(language_standard lhs, language_standard rhs) noexcept -> bool
Compares language_standards.
Definition language_standard.hpp:23
constexpr auto operator<(language_standard lhs, language_standard rhs) noexcept -> bool
Definition language_standard.hpp:33
constexpr auto operator!=(language_standard lhs, language_standard rhs) noexcept -> bool
Definition language_standard.hpp:28