From: Aleksey G. <agu...@us...> - 2003-01-02 22:42:22
|
Update of /cvsroot/boost/boost/boost/mpl In directory sc8-pr-cvs1:/tmp/cvs-serv16762 Modified Files: if.hpp Log Message: fix to make aCC happy Index: if.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/mpl/if.hpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- if.hpp 14 Dec 2002 23:58:59 -0000 1.8 +++ if.hpp 2 Jan 2003 22:42:18 -0000 1.9 @@ -53,12 +53,17 @@ > struct if_ { - typedef typename if_c< + private: + // agurt, 02/jan/03: two-step 'type' definition for the sake of aCC + typedef if_c< BOOST_MPL_AUX_ICE_CAST(bool, BOOST_MPL_AUX_VALUE_WKND(C)::value) , T1 , T2 - >::type type; - + > almost_type_; + + public: + typedef typename almost_type_::type type; + BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(C,T1,T2)) }; |