fix to make aCC happy

[SVN r16735]
This commit is contained in:
Aleksey Gurtovoy
2003-01-02 22:42:18 +00:00
parent 003cbdd989
commit 1e0628bc57

View File

@@ -53,11 +53,16 @@ template<
> >
struct if_ 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) BOOST_MPL_AUX_ICE_CAST(bool, BOOST_MPL_AUX_VALUE_WKND(C)::value)
, T1 , T1
, T2 , T2
>::type type; > almost_type_;
public:
typedef typename almost_type_::type type;
BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(C,T1,T2)) BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(C,T1,T2))
}; };