![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
#include <format.h>
Inherited by fmt::internal::MemoryBuffer< T, SIZE, Allocator >.
Public Member Functions | |
template<typename U > | |
void | append (const U *begin, const U *end) |
std::size_t | capacity () const |
void | reserve (std::size_t capacity) |
void | resize (std::size_t new_size) |
std::size_t | size () const |
Protected Member Functions | |
virtual void | grow (std::size_t size)=0 |
A buffer supporting a subset of std::vector
's operations.
void fmt::Buffer< T >::append | ( | const U * | begin, |
const U * | end | ||
) |
Appends data to the end of the buffer.
|
inline |
Returns the capacity of this buffer.
|
protectedpure virtual |
Increases the buffer capacity to hold at least size elements updating ptr_
and capacity_
.
|
inline |
Reserves space to store at least capacity elements.
|
inline |
Resizes the buffer. If T is a POD type new elements may not be initialized.
|
inline |
Returns the size of this buffer.