mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 06:44:37 +02:00
fix to make aCC happy
[SVN r16735]
This commit is contained in:
@@ -53,12 +53,17 @@ 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))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user