C++ guys hate static_if?
Timon Gehr
timon.gehr at gmx.ch
Mon Mar 11 12:14:07 PDT 2013
On 03/11/2013 07:55 PM, Jouko Koski wrote:
> "Nick Treleaven" wrote:
>> On 09/03/2013 11:15, Artur Skawina wrote:
>
>> > - static-if not creating scopes/is/ confusing, but what would be
>> a > better
>> > alternative?
>>
>> Isn't it only confusing to newbies? It's not hard to learn and recognize.
>
> Maybe. This is just precisely the way how it all begun in C/C++.
>
Actually, in D, static if creates its own scopes for declarations made
inside the static if condition.
More information about the Digitalmars-d
mailing list