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