Wayverb
|
#include <recursive_vector.h>
Public Member Functions | |
recursive_vector_impl (size_type size=0) | |
void | swap (recursive_vector_impl &other) noexcept |
recursive_vector_impl (const recursive_vector_impl &other) | |
recursive_vector_impl (recursive_vector_impl &&other) noexcept | |
recursive_vector_impl & | operator= (const recursive_vector_impl &other) |
recursive_vector_impl & | operator= (recursive_vector_impl &&other) noexcept |
template<typename... Ts> | |
void | construct (Ts &&...ts) |
void | destroy () noexcept |
size_type | size () const |
size_type | capacity () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cend () const |
Handles memory management for vector-like classes. Has a fixed capacity, and allows objects to be constructed or destroyed at the end of the internal array. For a true dynamic array, this must be wrapped in another class that handles copy/move when a size greater than the current capacity is requested.