8#ifndef ADOBE_CONVERSION_HPP
9#define ADOBE_CONVERSION_HPP
23 conditional_t<std::is_arithmetic_v<T> && (2 <=
sizeof(T) &&
sizeof(T) <= 4),
double, T>;
36template <
typename lht,
typename rht>
38 return static_cast<lht
>(rhs);
43template <
typename R,
typename T>
48template <
typename R,
typename T>
53template <
typename R,
typename T>
58template <
typename R,
typename T>
71 return const_cast<T&
>(x);
T & remove_const(const T &x)
lht explicit_cast(const rht &rhs)
typename promote< T >::type promote_t