Subject: Re: [boost] [static_if] Is there interest in a `static if` emulation library?
From: pfultz2 (pfultz2_at_[hidden])
Date: 2014-08-31 23:38:41
> since the condition is known at compile time, can't the optimizer be
counted on to
> compile only the corresponding code? Why doesn't this give the same
> effect as
> the proposal?
Both branches still have to compile even if the compiler determines it is
-- View this message in context: http://boost.2283326.n4.nabble.com/static-if-Is-there-interest-in-a-static-if-emulation-library-tp4667118p4667122.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