sparrow 0.6.0
Loading...
Searching...
No Matches
buffer.hpp File Reference
#include <algorithm>
#include <concepts>
#include <iterator>
#include <memory>
#include <ranges>
#include <stdexcept>
#include <type_traits>
#include "sparrow/buffer/allocator.hpp"
#include "sparrow/utils/contracts.hpp"
#include "sparrow/utils/iterator.hpp"
#include "sparrow/utils/mp_utils.hpp"
Include dependency graph for buffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sparrow::buffer_base< T >
 Base class for buffer. More...
 
struct  sparrow::buffer_base< T >::buffer_data
 
class  sparrow::buffer< T >
 Object that owns a piece of contiguous memory. More...
 
struct  sparrow::is_move_iterator< T >
 
struct  sparrow::is_move_iterator< std::move_iterator< Iterator > >
 

Namespaces

namespace  sparrow
 

Macros

#define SPARROW_BUFFER_GROWTH_FACTOR   2
 

Functions

template<class T>
constexpr bool sparrow::operator== (const buffer< T > &lhs, const buffer< T > &rhs) noexcept
 

Variables

template<typename T>
constexpr bool sparrow::is_move_iterator_v = is_move_iterator<T>::value
 

Macro Definition Documentation

◆ SPARROW_BUFFER_GROWTH_FACTOR

#define SPARROW_BUFFER_GROWTH_FACTOR   2

Definition at line 31 of file buffer.hpp.