Template Struct bit_cast

Struct Documentation

template<typename To>
struct bit_cast

Public Functions

inline  VEG_TEMPLATE (typename From, requires((VEG_CONCEPT(trivially_copyable< From >) &&VEG_CONCEPT(trivially_copyable< To >) &&(sizeof(From)==sizeof(To)))), VEG_INLINE VEG_BITCAST_CONSTEXPR auto operator(),(from, From const &)) const VEG_NOEXCEPT -> To