Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-01-31 21:31:08


Larry Evans writes:
> 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;

Theoretically, I see no good reason to disallow it.

>
> it does with intel but with gcc, I get:

[snip errors]

I'll look into making this work.

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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