Boost logo

Boost :

Subject: Re: [boost] Interesting variadic template trick
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-11-18 04:58:08

On 18 November 2013 06:54, Andrey Semashev wrote:
>> No it doesn't. It requires exactly two
>> instantiations of std::conditional for
>> all uses of or_.
> You mean the compiler can optimize multiple instantiations for
> different T::value values to just unique ones?

How many unique values of bool do you think there are? :-)

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