Agora
1.2.0
Agora project
|
#include <core.h>
Public Member Functions | |
counting_buffer () | |
auto | count () -> size_t |
Public Member Functions inherited from fmt::v8::detail::buffer< char > | |
buffer (const buffer &)=delete | |
void | operator= (const buffer &)=delete |
auto | begin () -> char * throw () |
auto | begin () const -> const char * throw () |
auto | end () -> char * throw () |
auto | end () const -> const char * throw () |
constexpr auto | size () const -> size_t throw () |
constexpr auto | capacity () const -> size_t throw () |
auto | data () -> char * throw () |
auto | data () const -> const char * throw () |
void | clear () |
void | try_resize (size_t count) |
void | try_reserve (size_t new_capacity) |
void | push_back (const char &value) |
void | append (const U *begin, const U *end) |
auto | operator[] (I index) -> char & |
auto | operator[] (I index) const -> const char & |
Protected Member Functions | |
void | grow (size_t) override |
Protected Member Functions inherited from fmt::v8::detail::buffer< char > | |
buffer (size_t sz) throw () | |
buffer (char *p=nullptr, size_t sz=0, size_t cap=0) throw () | |
buffer (buffer &&)=default | |
~buffer ()=default | |
void | set (char *buf_data, size_t buf_capacity) throw () |
Private Types | |
enum | { buffer_size = 256 } |
Private Attributes | |
T | data_ [buffer_size] |
size_t | count_ = 0 |
Additional Inherited Members | |
Public Types inherited from fmt::v8::detail::buffer< char > | |
using | value_type = char |
using | const_reference = const char & |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |
Increases the buffer capacity to hold at least capacity elements.
Implements fmt::v8::detail::buffer< char >.
|
private |
|
private |