Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
comet::make_list<> Struct Template Reference
#include <comet/typelist.h>
Public Types | |
|
typedef tl_t< X00, typename make_list< COMET_LIST_ARG_0 >::result > | result |
Detailed Description
template<COMET_LIST_TEMPLATE>
struct comet::make_list<>
Construct a 'type list' of up to 40 types. A list is a 'head-tail' list terminated by a 'nil' tail struct. It is most easily constructe by using make_list:
The concept of a type-list is that it is either nil or a struct containing a typedef of head to the first element in the list and a typedef of tail to a type-list that contains the rest of the list.
This means that for a type-list LST
LST::head
LST::head::tail::head
LST::head::tail is not nil ), and so on.Two type lists can be appended together with typelist::append.
- See also:
- typelist::append
The documentation for this struct was generated from the following file: