21 Aug
2009
21 Aug
'09
9:58 a.m.
2009/8/21 Hicham Mouline
Thanks very much. How about generating const int elts[] = { other_array[0], .... other_array[N-1] };
Basically I wished to initialize at compile time 1 const array based on another, I don't see any metaprogramming that allows this.
#include <iostream>
#include <iterator>
#include