Zen
A cross-platform functional programming language

listbase< derT, listT, iterT, V >::creator Class Reference

list creator More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 creator ()
 Default constructor.
creatoradd (const V &val)
 Add a value to the list.
derT & value ()
 Returns a reference to the list being created.

Private Attributes

derT _list
 The list being created.

Detailed Description

template<typename derT, typename listT, typename iterT, typename V>
class z::listbase< derT, listT, iterT, V >::creator

list creator


Member Function Documentation

creator& add ( const V &  val) [inline]

Add a value to the list.

Parameters:
valValue to add
Returns:
Reference to self
derT& value ( ) [inline]

Returns a reference to the list being created.

Returns:
Reference to list

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