...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Convert a fusion sequence to a deque
.
template <typename Sequence> typename result_of::as_deque<Sequence>::type as_deque(Sequence& seq); template <typename Sequence> typename result_of::as_deque<Sequence const>::type as_deque(Sequence const& seq);
Parameter |
Requirement |
Description |
---|---|---|
|
An instance of Sequence |
The sequence to convert. |
as_deque(seq);
Return type: __result_of_as_deque__<Sequence>::type
Semantics: Convert a fusion sequence,
seq
, to a deque
.
#include <boost/fusion/container/deque/convert.hpp> #include <boost/fusion/include/as_deque.hpp>
as_deque(make_vector
('x', 123, "hello"))