unilink  0.4.3
A simple C++ library for unified async communication
safe_span.hpp File Reference
#include <cstdint>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Classes

class  unilink::memory::SafeSpan< T >
 A C++17 compatible span-like class for safe array access. More...
 

Namespaces

 
 

Typedefs

using unilink::memory::ByteSpan = SafeSpan< uint8_t >
 
using unilink::memory::ConstByteSpan = SafeSpan< const uint8_t >
 
using unilink::memory::CharSpan = SafeSpan< char >
 
using unilink::memory::ConstCharSpan = SafeSpan< const char >