...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 as_set.
template <typename Sequence> struct as_set;
Parameter |
Requirement |
Description |
---|---|---|
Sequence |
A fusion Sequence |
The sequence to convert. |
result_of::as_set<Sequence>::type;
Return type: A set with same elements as the input sequence, Sequence.
Semantics: Convert a fusion sequence, Sequence, to a set.
Precondition: There may be no duplicate key types.
#include <boost/fusion/container/set/convert.hpp> #include <boost/fusion/include/as_set.hpp>
result_of::as_set<vector<char, int> >::type