Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
Returns the result type of flatten, given the input sequence
type.
template< typename Sequence > struct flatten { typedef unspecified type; };
Table 1.105. Parameters
|
Parameter |
Requirement |
Description |
|---|---|---|
|
|
A model of Forward Sequence |
Operation's argument |
result_of::flatten<Sequence>::type
Return type:
Semantics: Returns a sequence with all
the leaf elements of Sequence.
Constant.
#include <boost/fusion/algorithm/transformation/flatten.hpp> #include <boost/fusion/include/flatten.hpp>