Boost logo

Boost :

Subject: Re: [boost] [static_if] Is there interest in a `static if` emulation library?
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2014-10-01 14:15:03


Sebastian Redl wrote
> On 18 Sep 2014, at 8:07, Vicente J. Botet Escriba <

> vicente.botet@

> > wrote:
>
>>
>> Yes, I think this is an interesting addition to Boost.
>>
>> Lorenzo, as the scope of your static_if emulation is restricted to void
>> expressions would you mind to rename it, e.g. call_if?
>
> I disagree. A normal if statement is restricted to statements, and so is
> this static if. Makes perfect sense to me. Given its intended usage, I
> don’t think “call” is appropriate here, since it’s supposed to emulate a
> control statement.

OK, noted. I will make sure this is discussed for consensus during formal
review (if this library ever gets that far).

Thanks.
--Lorenzo

--
View this message in context: http://boost.2283326.n4.nabble.com/static-if-Is-there-interest-in-a-static-if-emulation-library-tp4667118p4668066.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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