E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::translatable Concept Reference

Determines if a type can be translated. More...

#include <eve/traits/translation.hpp>

Detailed Description

Note
This also covers non-translatable types as their translation target is themselves by default.

Concept definition

template<typename T>
concept eve::translatable = std::same_as<typename translation_of<T>::type, T>
|| std::is_enum_v<T>
Defines the requirements for a struct to be translatable.
Definition translation.hpp:62
Determines if a type can be translated.
Definition translation.hpp:73
typename decltype(detail::as_translated_type(as< T >{}))::type translate_t
Returns the final translated type of T.
Definition translation.hpp:107