Subject: Re: [boost] [static_if] Is there interest in a `static if` emulation library?
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2014-09-29 11:07:19
On 18 Sep 2014, at 8:07, Vicente J. Botet Escriba <vicente.botet_at_[hidden]> 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 dont think call is appropriate here, since its supposed to emulate a control statement.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk