C++ guys hate static_if?

1100110 0b1100110 at gmail.com
Sat Mar 9 10:23:29 PST 2013


On 03/09/2013 12:10 PM, deadalnix wrote:
> On Saturday, 9 March 2013 at 17:51:31 UTC, Ali Çehreli wrote:
>> On 03/09/2013 03:15 AM, Artur Skawina wrote:
>>
>> > - static-if not creating scopes /is/ confusing, but what
>> would be a better
>> > alternative?
>>
>> I am surprised that << and >> are never mentioned:
>>
>> static_if >>
>> void foo();
>> <<
>>
>> Problem solved. ;)
>>
>> Ali
>
> static if(condition) «
> void foo();
> »
>
> Let's do it with style ;)

I love how the second set show up in two different styles on my computer.


More information about the Digitalmars-d mailing list