DIY 3.0 data-parallel out-of-core C++ library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Typedefs Groups Pages
Public Member Functions | Protected Member Functions | List of all members
fmt::internal::MemoryBuffer< T, SIZE, Allocator > Class Template Reference
Inheritance diagram for fmt::internal::MemoryBuffer< T, SIZE, Allocator >:

## Public Member Functions
| MemoryBuffer (const Allocator &alloc=Allocator())
Allocator | get_allocator () const
Public Member Functions inherited from fmt::Buffer< T >
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

## Protected Member Functions
void | grow (std::size_t size) FMT_OVERRIDE
Protected Member Functions inherited from fmt::Buffer< T >
| Buffer (T *ptr=FMT_NULL, std::size_t capacity=0)

## Additional Inherited Members
Protected Attributes inherited from fmt::Buffer< T >
T * | ptr_
std::size_t | size_
std::size_t | capacity_

## Member Function Documentation

template<typename T , std::size_t SIZE, typename Allocator >

void fmt::internal::MemoryBuffer< T, SIZE, Allocator >::grow | ( | std::size_t | size | ) |
| protected virtual

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:

- include/diy/fmt/format.h