E.V.E
v2023.02.15
Loading...
Searching...
No Matches
◆
translate()
[1/3]
template<typename V>
auto eve::translate
(
as
< V >
)
constexpr
Template Parameters
V
The wrapper type to translate
Returns
Type tag for the translated type
enum class
E:
int
{ };
eve::as<E>
tag;
static_assert
(std::same_as<
decltype
(
eve::translate
(tag)),
eve::as<int>
>);
eve::translate
constexpr translate_t< V > translate(V const &val)
Translates a value to its translated type.
Definition
as_translation.hpp:28
eve::as
Lightweight type-wrapper.
Definition
as.hpp:29
eve