29 template<
typename T,
typename U>
33 template<
typename T,
typename U>
34 requires std::constructible_from<U, T>
37 template<
typename TVal>
38 requires std::same_as<std::remove_cvref_t<TVal>, std::remove_cvref_t<T>>
41 return static_cast<U>(std::forward<TVal>(value));
49 template<
typename T,
typename U>
54 template<
typename U,
typename T>
Definition conversion.h:50
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56
U operator()(TVal &&value) const
Definition conversion.h:39
Definition conversion.h:30