
13 Oct
2004
13 Oct
'04
10:13 p.m.
On 10/13/2004 02:15 PM, Larry Evans wrote: [snip]
I changed the toy example to:
<------------------ #include <boost/mpl/eval_if.hpp> #include <boost/mpl/deref.hpp> struct C { static bool const value=true; }; struct f1 {}; struct f2 {}; namespace boost{namespace mpl{
typedef deref<eval_if<C,f1,f2> >::type X; X x;
}}
------------------ and got this error:
I apologize. Both f1 and f2 need a typedef for type.