opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
object_representation.h File Reference
#include <liboscar/concepts/bit_castable.h>
#include <liboscar/concepts/object_representation_byte.h>
#include <cstddef>
#include <ranges>
#include <span>
Include dependency graph for object_representation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  osc
 

Functions

template<ObjectRepresentationByte Byte = std::byte, BitCastable T>
constexpr std::span< const Byte, sizeof(T)> osc::view_object_representation (const T &v)
 
template<ObjectRepresentationByte Byte = std::byte, std::ranges::contiguous_range Range>
requires BitCastable<typename Range::value_type>
constexpr std::span< const Byteosc::view_object_representations (const Range &range)