TooN Algorithm Library - tag
0.2
|
Classes | |
struct | tag::T_list< C, D > |
struct | tag::V_list< C, D > |
struct | tag::V_tuple< A, B, C, > |
Macros | |
#define | make_tuple(...) ((tag::TupleHead, ## __VA_ARGS__)) |
#define | make_vtuple(...) ((tag::V_TupleHead, ## __VA_ARGS__)) |
#define | make_rtuple(...) ((tag::R_TupleHead, ## __VA_ARGS__)) |
Typedefs | |
typedef T_list< Internal::null, Internal::null > | tag::T_ListEnd |
Variables | |
static const T_ListEnd | tag::TupleHead =T_ListEnd(Internal::null(), Internal::null()) |
This group containg classes for dealing with tuples (or typelists) of arbitrary length.
There are two types:
const&
mebers.V_list is designed primarily to allow multiple return values from functions (see also tag::rpair) and can be uses as follows:
#define make_rtuple | ( | ... | ) | ((tag::R_TupleHead, ## __VA_ARGS__)) |
This macro is used to collect multiple return values from a function.
#define make_tuple | ( | ... | ) | ((tag::TupleHead, ## __VA_ARGS__)) |
This is a variadic ``function'' which creates and returns a tuple.
Referenced by tag::computeSimilarity(), and find_roots().
#define make_vtuple | ( | ... | ) | ((tag::V_TupleHead, ## __VA_ARGS__)) |
This macro is used to return multiple values from a function.
typedef T_list<Internal::null,Internal::null> tag::T_ListEnd |
Guard type to mark the end of the list
|
static |
The value of the end of a list