...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_vector
.
template <typename Sequence> struct as_vector;
Parameter |
Requirement |
Description |
---|---|---|
|
A fusion Sequence |
The sequence to convert. |
result_of::as_vector<Sequence>::type;
Return type: A vector
with same elements as
the input sequence, Sequence
.
Semantics: Convert a fusion sequence,
Sequence
, to a vector
.
#include <boost/fusion/container/vector/convert.hpp> #include <boost/fusion/include/as_vector.hpp>
result_of::as_vector<list
<char, int> >::type