Lines Matching refs:Dest
41 template <class Dest, class Source>
45 sizeof(Dest) == sizeof(Source) &&
47 type_traits_internal::is_trivially_copyable<Dest>::value &&
48 std::is_default_constructible<Dest>::value> {};
152 typename Dest, typename Source,
153 typename std::enable_if<internal_casts::is_bitcastable<Dest, Source>::value,
155 inline Dest bit_cast(const Source& source) { in bit_cast()
156 Dest dest; in bit_cast()
167 typename Dest, typename Source,
169 !internal_casts::is_bitcastable<Dest, Source>::value,
175 inline Dest bit_cast(const Source& source) { in bit_cast()
176 static_assert(sizeof(Dest) == sizeof(Source), in bit_cast()
179 Dest dest; in bit_cast()