...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A metafunction returning the result type of applying copy
, which is always void
.
template <typename Seq1, typename Seq2> struct copy { typedef void type; };
Table 1.38. Parameters
Parameter |
Requirement |
Description |
---|---|---|
|
A model of Forward Sequence |
Operation's argument |
|
A model of Forward Sequence |
Operation's argument |
result_of::copy<Seq1, Seq2>::type
Return type: void
iff both of Seq1
and
Seq2
are sequence. Otherwise,
none.
Semantics: Returns the return type of
copy
for 2 sequences of types
Seq1
and Seq2
.
Constant.
#include <boost/fusion/algorithm/auxiliary/copy.hpp> #include <boost/fusion/include/copy.hpp>