Boost logo

Boost :

Subject: Re: [boost] [MPL] wrapper for if_ selecting integral_c
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-20 12:49:17


Christian Holmquist wrote:
>> type value = if_integral_c<condition, type, value1, value2>::value
> Isn't that the same as mpl::if_c?

mpl::if_c takes a bool and two types. In other words,
only the condition is an integral constant expression.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at