sparrow 0.3.0
Loading...
Searching...
No Matches
buffer_adaptor.hpp File Reference
#include <cmath>
#include <ranges>
#include <type_traits>
#include "sparrow/utils/contracts.hpp"
#include "sparrow/utils/iterator.hpp"
#include "sparrow/utils/mp_utils.hpp"
Include dependency graph for buffer_adaptor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sparrow::buffer_adaptor< To, FromBufferRef >
 Class which have internally a reference to a contiguous container of a certain type and provides an API to access it as if it was a buffer<T>. More...
 
class  sparrow::holder< T >
 

Namespaces

namespace  sparrow
 

Concepts

concept  sparrow::BufferReference
 
concept  sparrow::T_is_const_if_FromBufferRef_is_const
 

Functions

template<typename To, class FromBufferRef>
auto sparrow::make_buffer_adaptor (FromBufferRef &buf)