E.V.E
v2023.02.15
Loading...
Searching...
No Matches

◆ translate() [1/3]

template<typename V>
auto eve::translate ( as< V > )
constexpr
Template Parameters
VThe wrapper type to translate
Returns
Type tag for the translated type
enum class E: int { };
static_assert(std::same_as<decltype(eve::translate(tag)), eve::as<int>>);
constexpr translate_t< V > translate(V const &val)
Translates a value to its translated type.
Definition as_translation.hpp:28
Lightweight type-wrapper.
Definition as.hpp:29