sparrow 2.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
buffer.hpp File Reference
#include <algorithm>
#include <concepts>
#include <iterator>
#include <limits>
#include <memory>
#include <ranges>
#include <stdexcept>
#include <type_traits>
#include "sparrow/buffer/allocator.hpp"
#include "sparrow/debug/copy_tracker.hpp"
#include "sparrow/details/3rdparty/xsimd_aligned_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
namespace  sparrow::copy_tracker

Concepts

concept  sparrow::is_buffer_view

Macros

#define SPARROW_BUFFER_GROWTH_FACTOR   2

Functions

template<typename T>
requires mpl::is_type_instance_of_v<T, sparrow::buffer>
std::string sparrow::copy_tracker::key ()
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 34 of file buffer.hpp.