12 template<ObjectRepresentationByte Byte = std::
byte, BitCastable T>
26 return std::span<
const Byte,
sizeof(
T)>{
reinterpret_cast<const Byte*
>(&
v),
sizeof(
T)};
29 template<ObjectRepresentationByte Byte = std::
byte, std::ranges::contiguous_range Range>
44 return {
reinterpret_cast<const Byte*
>(std::ranges::data(
range)),
sizeof(
typename Range::value_type) * std::ranges::size(
range)};
Definition custom_decoration_generator.h:5
constexpr std::span< const Byte, sizeof(T)> view_object_representation(const T &v)
Definition object_representation.h:13
constexpr std::span< const Byte > view_object_representations(const Range &range)
Definition object_representation.h:31
constexpr U to(T &&value)
Definition conversion.h:56