Scid
4.7.0
|
A vector-like container. More...
#include <containers.h>
Public Member Functions | |
VectorChunked ()=default | |
VectorChunked (const VectorChunked &)=delete | |
VectorChunked & | operator= (const VectorChunked &)=delete |
~VectorChunked () | |
const T & | operator[] (size_t idx) const |
T & | operator[] (size_t idx) |
size_t | capacity () const |
size_t | contiguous (size_t pos) const |
void | push_back (const T &e) |
void | resize (size_t count) |
size_t | size () const |
A vector-like container.
Not all the elements are stored contiguously like in a normal vector, but are allocated in separate chunks so that:
Definition at line 108 of file containers.h.
|
default |
|
delete |
|
inline |
Definition at line 118 of file containers.h.
|
inline |
Definition at line 132 of file containers.h.
|
inline |
Definition at line 138 of file containers.h.
|
delete |
|
inline |
Definition at line 123 of file containers.h.
|
inline |
Definition at line 127 of file containers.h.
|
inline |
Definition at line 143 of file containers.h.
|
inline |
Definition at line 149 of file containers.h.
|
inline |
Definition at line 169 of file containers.h.