tinympl
0.2
mini MPL library for C++11
|
A compile time vector of types Vector is the simplest tinympl sequence type. It provides standard modifiers and random access to its elements. More...
#include <tinympl/vector.hpp>
Classes | |
struct | at |
Access the i-th element. More... | |
struct | back |
Return the last element of the vector. More... | |
struct | erase |
Return a new vector constructed by erasing the elements in the range [first,last) of the current vector. More... | |
struct | front |
Return the first element of the vector. More... | |
struct | insert |
Return a new vector constructed by inserting the elements Ts... in the current vector starting at the index i More... | |
struct | pop_back |
Return a new vector constructed by removing the last element of the current vector. More... | |
struct | pop_front |
Return a new vector constructed by removing the first element of the current vector. More... | |
struct | push_back |
Return a new vector constructed by inserting T on the back of the current vector. More... | |
struct | push_front |
Return a new vector constructed by inserting T on the front of the current vector. More... | |
Public Types | |
enum | { size = sizeof ... (Args) } |
enum | { empty = (size == 0) } |
A compile time vector of types Vector is the simplest tinympl sequence type. It provides standard modifiers and random access to its elements.