sprint 1-alpha
Public Member Functions
sprint::alias_vector< T > Class Template Reference

#include <alias.h>

Inherited by sprint::named_alias_vector< T >.

List of all members.

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

Detailed Description

template<class T>
class sprint::alias_vector< T >

associate an index to a value


Member Function Documentation

template<class T>
template<class R >
int sprint::alias_vector< T >::operator[] ( target) const

look up table (the search is slow). R can be a function object


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines