Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
with_capacity.hpp
Go to the documentation of this file.
static node_t * copy_n(size_t n, Iter first, Sent last)
Definition: node.hpp:99
Definition: node.hpp:22
typename MemoryPolicy::transience_t::edit edit_t
Definition: with_capacity.hpp:23
with_capacity assoc(std::size_t idx, T value) const
Definition: with_capacity.hpp:218
void push_back_mut(edit_t e, T value)
Definition: with_capacity.hpp:200
friend void swap(with_capacity &x, with_capacity &y)
Definition: with_capacity.hpp:75
std::iterator_traits< Iterator >::difference_type distance(Iterator first, Sentinel last)
Definition: util.hpp:141
with_capacity(node_t *p, size_t s, size_t c)
Definition: with_capacity.hpp:40
no_capacity< T, MemoryPolicy > no_capacity_t
Definition: with_capacity.hpp:20
const T & get_check(std::size_t index) const
Definition: with_capacity.hpp:157
Definition: box.hpp:161
with_capacity push_back(T value) const
Definition: with_capacity.hpp:187
bool equals(const with_capacity &other) const
Definition: with_capacity.hpp:164
void take_mut(edit_t e, std::size_t sz)
Definition: with_capacity.hpp:286
Definition: algorithm.hpp:15
static size_t recommend_down(size_t sz, size_t cap)
Definition: with_capacity.hpp:180
void assoc_mut(edit_t e, std::size_t idx, T value)
Definition: with_capacity.hpp:230
static size_t recommend_up(size_t sz, size_t cap)
Definition: with_capacity.hpp:171
static void delete_n(node_t *p, size_t sz, size_t cap)
Definition: node.hpp:65
with_capacity(const with_capacity &other)
Definition: with_capacity.hpp:44
U & get(T &x)
with_capacity update(std::size_t idx, Fn &&op) const
Definition: with_capacity.hpp:247
static with_capacity from_fill(size_t n, T v)
Definition: with_capacity.hpp:135
static const with_capacity & empty()
Definition: with_capacity.hpp:30
with_capacity take(std::size_t sz) const
Definition: with_capacity.hpp:279
static with_capacity from_range(Iter first, Sent last)
Definition: with_capacity.hpp:118
with_capacity(const no_capacity_t &other)
Definition: with_capacity.hpp:50
void update_mut(edit_t e, std::size_t idx, Fn &&op)
Definition: with_capacity.hpp:261
void for_each_chunk(Fn &&fn) const
Definition: with_capacity.hpp:141
with_capacity & operator=(const with_capacity &other)
Definition: with_capacity.hpp:62
static node_t * copy_e(edit_t e, size_t n, Iter first, Iter last)
Definition: node.hpp:117
~with_capacity()
Definition: with_capacity.hpp:83
with_capacity(with_capacity &&other)
Definition: with_capacity.hpp:56
static with_capacity from_initializer_list(std::initializer_list< U > values)
Definition: with_capacity.hpp:129
bool for_each_chunk_p(Fn &&fn) const
Definition: with_capacity.hpp:147
with_capacity & operator=(with_capacity &&other)
Definition: with_capacity.hpp:69