|
sprint 1-alpha
|
#include <alias.h>
Inherited by sprint::named_alias_vector< T >.
Public Member Functions | |
| alias_vector (const alias_vector< T > &src) | |
| T * | list () |
| const T * | list () const |
| template<class R > | |
| int | operator[] (R target) const |
| int | append (const T &d) |
| add a new item in the alias list | |
| const T & | operator[] (int i) const |
| return the i-th item | |
associate an index to a value
look up table (the search is slow). R can be a function object
1.7.4