Boost logo

Boost :

Subject: Re: [boost] convert boost::mpl::vector_c<int> into const int[]
From: David Abrahams (dave_at_[hidden])
Date: 2009-06-18 20:48:37


on Mon Jun 15 2009, "Peter Foelsche" <peter_foelsche-AT-agilent.com> wrote:

> Is there any way to convert a boost::mpl::vector_c<int> into a const int[] without
> using boost::mpl::for_each?

You could use a whole bunch of specializations, one for each length of
vector.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk