Alchemy
1.0
A framework to robustly process network messages and structured data
|
This parameterized construct is used to iterate through each type in the specified type container. More...
#include <meta_foreach.h>
Public Member Functions | |
ForEachTypeHelper (Function &fn) | |
Initializes this helper constructor for applying the input Functor fn to each type specified in the Type Container passed to the Functor. More... | |
void | operator() () |
The function that allows this structure to operate as a functor. | |
This parameterized construct is used to iterate through each type in the specified type container.
CurIndex | [size_t] The starting index for processing the type container. This value must be less than EndIndex otherwise a compiler error will be generated. |
EndIndex | [size_t]The last index to be processed in the type container. |
ContainerT | [typename] A type container to process. Each type entry within the specified range will be processed. A compiler error will be generated if this parameter is not a Type Container. |
Function | [typename] The user specified functor to use on each type. |
Definition at line 40 of file meta_foreach.h.
|
inline |
Initializes this helper constructor for applying the input Functor fn to each type specified in the Type Container passed to the Functor.
fn | The functor that will be called for each type. |
Definition at line 54 of file meta_foreach.h.