
30 Jan
2005
30 Jan
'05
2:20 a.m.
On 01/28/2005 04:27 PM, Larry Evans wrote:
Is the following supposed to compile:
enum visitor_numerals { visitor_n0 , visitor_n1 };
typedef mpl::vector_c<visitor_numerals,visitor_n0> vec_viz_type; typedef mpl::at_c<vec_viz_type,0>::type vec_viz0_type;
it does with intel but with gcc, I get: [snip] /home/evansl/prog_dev/boost-release/boost_1_32_0/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp:47: error: invalid conversion from `long int' to `visitor_numerals' I'm seriously thinking about coding a workaround. Are there any suggestions about how best to do it?
TIA.