sbepp
Loading...
Searching...
No Matches
sbepp::detail::byte_range< Byte > Class Template Reference

Base class for all reference semantics types. More...

#include <sbepp.hpp>

Inheritance diagram for sbepp::detail::byte_range< Byte >:
sbepp::detail::composite_base< Byte > sbepp::detail::dynamic_array_ref< Byte, Value, Length, E > sbepp::detail::entry_base< Byte, BlockLengthType > sbepp::detail::flat_group_base< Byte, Entry, Dimension > sbepp::detail::message_base< Byte, Header > sbepp::detail::nested_group_base< Byte, Entry, Dimension > sbepp::detail::static_array_ref< Byte, Value, N, Tag >

Public Member Functions

 byte_range ()=default
 Initializes to nullptr
 
constexpr byte_range (Byte *begin, Byte *end) noexcept
 Constructs from a pair of pointers.
 
constexpr byte_range (Byte *ptr, const std::size_t size) noexcept
 Constructs from pointer and size.
 
template<typename Byte2 , typename = enable_if_convertible_t<Byte2, Byte>>
constexpr byte_range (const byte_range< Byte2 > &other) noexcept
 Copy constructor. Available if Byte2* is convertible to Byte*
 

Detailed Description

template<typename Byte>
class sbepp::detail::byte_range< Byte >

Base class for all reference semantics types.

Template Parameters
Bytebyte type. Must have size equal to 1

The documentation for this class was generated from the following file: