Range to boost::array / make_array?

16 Apr
2012
16 Apr
'12
4:29 p.m.
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. -- Olaf

9:14 p.m.
On Mon, Apr 16, 2012 at 8:20 PM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
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)
1>c:\vc\include\boost\range\iterator_range_core.hpp(640): error C2661: 'boost::array<T,N>::array' : no overloaded function takes 2 arguments -- Olaf
4806
Age (days ago)
4806
Last active (days ago)
2 comments
2 participants
participants (2)
-
Mathias Gaunard
-
Olaf van der Spek