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).


View this message in context:
Sent from the Boost - Dev mailing list archive at

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