cross_vector Struct Template Reference
[CrossVector]
#include <type_vector.hpp>
Detailed Description
template<typename VecOfVecs, typename TypeGen>
struct boost::mpl::cross_vector< VecOfVecs, TypeGen >
Represents the virtual cross-product of the types generated from VecOfVecs.
INPUT: VecOfVecs - a vector of vector types. For example [ [A1,A2,A3], [B1,B2], [C1,C2,C3,C4] ] Each element must be a non-empty mpl vector TypeGen - a metafunction that generates a type from a vector of types, each of which can be selected from the corresponding vector in VecOfVecs. For example, [A1, B2, C4].
Represents the virtual cross-product of the types generated from VecOfVecs. For example, [ TypeGen[A1,B1,C1], TypeGen[A2,B1,C1], TypeGen[A3,B1,C1], TypeGen[A1,B2,C1], TypeGen[A2,B2,C1], TypeGen[A3,B2,C1], TypeGen[A1,B1,C2], TypeGen[A2,B1,C2], TypeGen[A3,B1,C2], ... ]
Models an immutable MPL Random Access Sequence Traversal, random-access, etc, is defined, but mutable operations, such as push_back and pop_front are not supported
The documentation for this struct was generated from the following file:
|