#include <format.h>
Public Member Functions | |
FixedBuffer (Char *array, std::size_t size) | |
Public Member Functions inherited from fmt::Buffer< Char > | |
void | append (const U *begin, const U *end) |
std::size_t | capacity () const |
void | clear () FMT_NOEXCEPT |
Char & | operator[] (std::size_t index) |
const Char & | operator[] (std::size_t index) const |
void | push_back (const Char &value) |
void | reserve (std::size_t capacity) |
void | resize (std::size_t new_size) |
std::size_t | size () const |
virtual | ~Buffer () |
Protected Member Functions | |
FMT_API void | grow (std::size_t size) |
Protected Member Functions inherited from fmt::Buffer< Char > | |
Buffer (Char *ptr=0, std::size_t capacity=0) | |
Additional Inherited Members | |
Protected Attributes inherited from fmt::Buffer< Char > | |
std::size_t | capacity_ |
Char * | ptr_ |
std::size_t | size_ |
|
inline |
|
protectedvirtual |
Increases the buffer capacity to hold at least size elements updating ptr_
and capacity_
.
Implements fmt::Buffer< Char >.