Boost logo

Boost :

Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-05 02:13:32


AMDG

Jeffrey Lee Hellrung, Jr. wrote:
> On 5/4/2010 10:13 AM, Chad Nelson wrote:
>> Thanks for the suggestion, but I'd like to keep the dependencies and
>> compile times at a minimum. I'm also not familiar with mpl yet... I'll
>> look at it at some point, but I'd rather concentrate on XInt itself for
>> now. The time I can devote to it is limited.
>
> IMHO, using multiple "typename enable_if<...>::type* = 0" in a
> constructor is just fine. It makes the clauses line up a little more
> uniformly (to me). Just remember, you'll have to use boost::mpl::and_
> (or similar) if you need short-circuiting.

IIRC, Sun CC can break with multiple enable_ifs

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk