Adobe Systems, Inc.

boost::mpl::detail Namespace Reference


Classes

struct  _select_subvector
struct  _select_subvector< VEC_OF_VECS, N, 0 >
struct  copy_to_vector_impl
struct  copy_to_vector_impl< S_FIRST, 1 >
class  select_subvector_c
 Converts the basis of a number

Given a non-negative integer N, and a vector of vectors VEC_OF_VECS, returns a vector of size size<VEC_OF_VECS>, such that the i-th element of the returned vector is the j-th element of the i-th vector in VEC_OF_VECS, where the j-s comprise the representation of N as a number in which each digit has a different base - the size of the corresponding vector in VEC_OF_VECS. More...


Detailed Description

copy_to_vector - copies a sequence (mpl::set) to vector.

Temporary solution because I couldn't get mpl::copy to do this. This is what I tried: mpl::copy<SET, mpl::back_inserter<mpl::vector<> > >type; It works when SET is mpl::vector, but not when SET is mpl::set...

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google