Zen
A cross-platform functional programming language
|
Intrinsic owner type. More...
#include <zbl.hpp>
Public Member Functions | |
V & | insert () |
Insert a new value. | |
void | remove (V &v) |
Remove a contained value. | |
Private Types | |
typedef QSet< V * > | List |
The list type. | |
Private Attributes | |
List | _list |
The list. |
Intrinsic owner type.
This is a list class which can create new elements when inserted and delete them when removed
V& insert | ( | ) | [inline] |
Insert a new value.
void remove | ( | V & | v | ) | [inline] |
Remove a contained value.
v | Reference to value to be deleted |