3#ifndef TETL_VERSION_LANGUAGE_STANDARD_HPP
4#define TETL_VERSION_LANGUAGE_STANDARD_HPP
24 return static_cast<unsigned char>(lhs) ==
static_cast<unsigned char>(rhs);
34 return static_cast<unsigned char>(lhs) <
static_cast<unsigned char>(rhs);
39 return static_cast<unsigned char>(lhs) <=
static_cast<unsigned char>(rhs);
44 return static_cast<unsigned char>(lhs) >
static_cast<unsigned char>(rhs);
49 return static_cast<unsigned char>(lhs) >=
static_cast<unsigned char>(rhs);
52#if defined(_MSVC_LANG)
53 #define TETL_CPP_STANDARD_FULL _MSVC_LANG
55 #define TETL_CPP_STANDARD_FULL __cplusplus
58#if TETL_CPP_STANDARD_FULL > 202302L
59 #define TETL_CPP_STANDARD 26
62#elif TETL_CPP_STANDARD_FULL > 202002L
63 #define TETL_CPP_STANDARD 23
66#elif TETL_CPP_STANDARD_FULL > 201703L
67 #define TETL_CPP_STANDARD 20
71 #error "Unsupported C++ language standard. TETL requires at least C++20"
Definition adjacent_find.hpp:8
constexpr auto operator==(inplace_function< R(Args...), Capacity, Alignment > const &f, nullptr_t) noexcept -> bool
Compares a etl::inplace_function with a null pointer. Empty functions (that is, functions without a c...
Definition inplace_function.hpp:262
constexpr auto operator!=(inplace_function< R(Args...), Capacity, Alignment > const &f, nullptr_t) noexcept -> bool
Compares a etl::inplace_function with a null pointer. Empty functions (that is, functions without a c...
Definition inplace_function.hpp:272
constexpr auto current_standard
The currently configured C++ standard.
Definition language_standard.hpp:61
language_standard
Enumeration for the currently selected C++ standard version. Unlike the official macro __cplusplus,...
Definition language_standard.hpp:14
@ cpp_20
Definition language_standard.hpp:16
@ cpp_17
Definition language_standard.hpp:15
@ cpp_23
Definition language_standard.hpp:17
@ cpp_26
Definition language_standard.hpp:18
constexpr auto operator<(etl::reverse_iterator< Iter1 > const &lhs, etl::reverse_iterator< Iter2 > const &rhs) -> bool
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that...
Definition reverse_iterator.hpp:167
constexpr auto operator<=(etl::reverse_iterator< Iter1 > const &lhs, etl::reverse_iterator< Iter2 > const &rhs) -> bool
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that...
Definition reverse_iterator.hpp:177
constexpr auto operator>(etl::reverse_iterator< Iter1 > const &lhs, etl::reverse_iterator< Iter2 > const &rhs) -> bool
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that...
Definition reverse_iterator.hpp:185
constexpr auto operator>=(etl::reverse_iterator< Iter1 > const &lhs, etl::reverse_iterator< Iter2 > const &rhs) -> bool
Compares the underlying iterators. Inverse comparisons are applied in order to take into account that...
Definition reverse_iterator.hpp:195