Skip to content

class small_buffer<T, Capacity> types

template <typename T, std::size_t Capacity = 16>
struct small_buffer { … }

constructor small_buffer<T, Capacity>()

small_buffer() noexcept

Defined at base/small_buffer.hpp:38

constructor small_buffer<T, Capacity>(std::size_t)

small_buffer(std::size_t size)

Defined at base/small_buffer.hpp:40

function swap(small_buffer<T, Capacity> &, small_buffer<T, Capacity> &)

friend void swap(small_buffer<T, Capacity>& first, small_buffer<T, Capacity>& second) noexcept

Defined at base/small_buffer.hpp:42

constructor small_buffer<T, Capacity>(small_buffer<T, Capacity> &&)

small_buffer(small_buffer<T, Capacity>&& other)

Defined at base/small_buffer.hpp:52

constructor small_buffer<T, Capacity>(const small_buffer<T, Capacity> &)

small_buffer(const small_buffer<T, Capacity>& other)

Defined at base/small_buffer.hpp:54

function operator=(small_buffer<T, Capacity>)

small_buffer<T, Capacity>& operator=(small_buffer<T, Capacity> other)

Defined at base/small_buffer.hpp:55

destructor ~small_buffer<T, Capacity>()

~small_buffer()

Defined at base/small_buffer.hpp:61

function assign(const small_buffer<T, Capacity> &)

void assign(const small_buffer<T, Capacity>& other)

Defined at base/small_buffer.hpp:63

function resize(std::size_t)

void resize(std::size_t newsize)

Defined at base/small_buffer.hpp:69

function empty()

bool empty() const

Defined at base/small_buffer.hpp:89

function size()

std::size_t size() const

Defined at base/small_buffer.hpp:90

function begin()

const T* begin() const

Defined at base/small_buffer.hpp:91

function end()

const T* end() const

Defined at base/small_buffer.hpp:92

function cbegin()

const T* cbegin() const

Defined at base/small_buffer.hpp:93

function cend()

const T* cend() const

Defined at base/small_buffer.hpp:94

function begin()

T* begin()

Defined at base/small_buffer.hpp:95

function end()

T* end()

Defined at base/small_buffer.hpp:96

function clear()

void clear()

Defined at base/small_buffer.hpp:97

function front()

const T& front() const

Defined at base/small_buffer.hpp:98

function back()

const T& back() const

Defined at base/small_buffer.hpp:99

function front()

T& front()

Defined at base/small_buffer.hpp:100

function back()

T& back()

Defined at base/small_buffer.hpp:101

function pop_back()

void pop_back()

Defined at base/small_buffer.hpp:102

function data()

T* data()

Defined at base/small_buffer.hpp:103

function data()

const T* data() const

Defined at base/small_buffer.hpp:104

function operator[](std::size_t)

T& operator[](std::size_t i)

Defined at base/small_buffer.hpp:105

function operator[](std::size_t)

const T& operator[](std::size_t i) const

Defined at base/small_buffer.hpp:106

function push_back(const T &)

void push_back(const T& value)

Defined at base/small_buffer.hpp:107

variable m_preallocated

T m_preallocated[Capacity]

Defined at base/small_buffer.hpp:114

variable m_size

std::size_t m_size

Defined at base/small_buffer.hpp:115

variable m_data

T* m_data

Defined at base/small_buffer.hpp:116

Defined at base/small_buffer.hpp:35