#include <buffer_builder.hpp>
Classes | |
class | stable_iterator |
Public Member Functions | |
buffer_builder () noexcept | |
buffer_builder (const buffer_builder &)=delete | |
std::size_t | capacity () const noexcept |
void | clear () noexcept |
void | commit (std::size_t n) noexcept |
void | grow () |
buffer_builder & | operator= (const buffer_builder &)=delete |
const T * | read_data () const noexcept |
std::size_t | read_size () const noexcept |
T * | write_data () noexcept |
std::size_t | write_size () const noexcept |
~buffer_builder () noexcept | |
Private Attributes | |
T * | _data |
std::size_t | _read_size |
T | _stack_buffer [stack_buffer_size] |
std::size_t | _write_size |
Static Private Attributes | |
static constexpr auto | growth_factor = 2 |
static constexpr std::size_t | stack_buffer_size = (total_size_bytes - 3 * sizeof(T*)) / sizeof(T) |
static constexpr std::size_t | total_size_bytes = 1024 |
Definition at line 19 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 29 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 34 of file buffer_builder.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 45 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 71 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 78 of file buffer_builder.hpp.
|
inline |
Definition at line 86 of file buffer_builder.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 51 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 55 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 61 of file buffer_builder.hpp.
|
inlinenoexcept |
Definition at line 65 of file buffer_builder.hpp.
|
private |
Definition at line 152 of file buffer_builder.hpp.
|
private |
Definition at line 153 of file buffer_builder.hpp.
|
private |
Definition at line 155 of file buffer_builder.hpp.
|
private |
Definition at line 154 of file buffer_builder.hpp.
|
staticconstexprprivate |
Definition at line 26 of file buffer_builder.hpp.
|
staticconstexprprivate |
Definition at line 25 of file buffer_builder.hpp.
|
staticconstexprprivate |
Definition at line 23 of file buffer_builder.hpp.