39template<
typename T,
typename O>
40concept same = std::is_same_v<T, O>;
48template<
typename BaseType,
typename DerivedType>
49concept base_of = std::is_base_of_v<BaseType, DerivedType>;
51template<
typename BaseType,
typename DerivedType>
54template<
typename DerivedType,
typename BaseType>
55concept derived_from = tt::is_derived_from_v<DerivedType, BaseType>;
57template<
typename DerivedType,
typename BaseType>
60template<
typename BaseType,
typename DerivedType>
63template<
typename BaseType,
typename DerivedType>
71 } -> std::convertible_to<std::string>;
78 from_string<T>(std::string_view{})
79 } -> std::convertible_to<T>;
82template<
typename From,
typename To>
87 } -> std::convertible_to<To>;
95 } -> std::convertible_to<size_t>;
Definition concepts.hpp:16
Definition concepts.hpp:19
Definition concepts.hpp:22
Definition concepts.hpp:25
Definition concepts.hpp:28
Definition concepts.hpp:31
Definition concepts.hpp:34
Definition concepts.hpp:37
Definition concepts.hpp:40
Definition concepts.hpp:43
Definition concepts.hpp:46
Definition concepts.hpp:49
Definition concepts.hpp:52
Definition concepts.hpp:55
Definition concepts.hpp:58
Definition concepts.hpp:61
Definition concepts.hpp:64
Definition concepts.hpp:67
Definition concepts.hpp:75
Definition concepts.hpp:83
Definition concepts.hpp:91
Concept for std::is_scoped_enum_v<T>.
Definition concepts.hpp:103