Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

seq_list< T > Class Template Reference

#include <fack.hpp>

List of all members.

Public Member Functions

seq_list< T > & operator<< (T item)


Detailed Description

template<class T>
class seq_list< T >

This is a list with an operator <<. The operator allows you to build arbitrarily long lists with a single statement. Example:

seq_list<int> l; l<<2 << 3 <<4;

You can also use it to create a list without giving it a name. Example:

foo( seq_list<int>() << 2 << 3);

If you don't want to specify the type either, do

foo(ulist(2) << 3);

Definition at line 207 of file fack.hpp.


Member Function Documentation

template<class T>
seq_list<T>& seq_list< T >::operator<< item  )  [inline]
 

Definition at line 210 of file fack.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 25 15:36:13 2005 for FACK by  doxygen 1.4.0