...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the result type of vector_tie.
template <typename T0, typename T1,... typename TN> struct vector_tie;
The variadic function accepts 0 to FUSION_MAX_VECTOR_SIZE 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 vector_tie |
result_of::vector_tie<T0, T1,... TN>::type;
Return type: vector<T0&, T1&,... TN&>
Semantics: Create a vector of references from T0, T1,... TN.
#include <boost/fusion/container/generation/vector_tie.hpp> #include <boost/fusion/include/vector_tie.hpp>
result_of::vector_tie<int, double>::type