sbepp
|
Base class for all reference semantics types. More...
#include <sbepp.hpp>
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* | |
Base class for all reference semantics types.
Byte | byte type. Must have size equal to 1 |