Zen
A cross-platform functional programming language
|
Class to create and populate a dict instance. More...
#include <zbl.hpp>
Public Member Functions | |
creator () | |
Default constructor. | |
creator & | add (const K &key, const V &val) |
Insert a key-value pair in the dictionary. | |
derT & | value () |
Returns a reference to the dictionary being created. | |
Private Attributes | |
derT | _list |
The dictionary being created. |
Class to create and populate a dict instance.
creator& add | ( | const K & | key, |
const V & | val | ||
) | [inline] |
Insert a key-value pair in the dictionary.
key | Key to add |
val | Value to add |
derT& value | ( | ) | [inline] |
Returns a reference to the dictionary being created.