|
|
| MemoryBuffer (const Allocator &alloc=Allocator()) |
| |
|
Allocator | get_allocator () const |
| |
| std::size_t | size () const |
| |
| std::size_t | capacity () const |
| |
| void | resize (std::size_t new_size) |
| |
| void | reserve (std::size_t capacity) |
| |
|
void | clear () FMT_NOEXCEPT |
| |
|
void | push_back (const T &value) |
| |
| template<typename U > |
| void | append (const U *begin, const U *end) |
| |
|
T & | operator[] (std::size_t index) |
| |
|
const T & | operator[] (std::size_t index) const |
| |
|
|
T * | ptr_ |
| |
|
std::size_t | size_ |
| |
|
std::size_t | capacity_ |
| |
template<typename T , std::size_t SIZE, typename Allocator >
Increases the buffer capacity to hold at least size elements updating ptr_ and capacity_.
Implements fmt::Buffer< T >.
The documentation for this class was generated from the following file: