C++ guys hate static_if?

Hans Uhlig hans.uhlig at teamaol.com
Tue Mar 12 15:49:38 PDT 2013


On 3/9/2013 10:10 AM, 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 ;)

So now I am going to need a unicode keyboard or a massive list of 
unicode code points.


More information about the Digitalmars-d mailing list