![]() |
Home | Libraries | People | FAQ | More |
Returns the result type of make_set
.
template <typename T0, typename T1,... typename TN> struct make_set;
The variadic function accepts 0
to FUSION_MAX_VECTOR_SIZE
[12]
elements, where FUSION_MAX_VECTOR_SIZE
is a user definable predefined maximum that defaults to 10
. You may define the preprocessor constant
FUSION_MAX_VECTOR_SIZE
before including any Fusion header to change the default. Example:
#define FUSION_MAX_VECTOR_SIZE 20
Parameter | Requirement | Description |
---|---|---|
T0,
T1,...
TN |
Any type | The arguments to make_set
|
result_of::make_set<T0, T1,... TN>::type
Return type: A set
with elements of types converted
following the rules for element
conversion.
Semantics: Create a set
from T0, T1,... TN
.
Precondition: There may be no duplicate key types.
#include <boost/fusion/sequence/generation/make_set.hpp>
result_of::make_set<int, char, double>::type
Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias Schwinger |