Boost logo

Boost :

Subject: Re: [boost] Range to boost::array / make_array?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-16 14:20:55


On 16/04/12 18:29, Olaf van der Spek wrote:
> Hi,
>
> Is there a convenient function to make an array from a range?
> I got a map with string keys which I'd like to replace with
> array<char, 32> keys, but I'm missing said function.
>

copy_range< array<char, 32> >(r)


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