shouting versus dotting
KennyTM~
kennytm at gmail.com
Sun Oct 5 23:21:44 PDT 2008
Vincent Richomme wrote:
> Michel Fortin a écrit :
>> On 2008-10-05 20:57:31 -0400, "Chris R. Miller"
>> <lordsauronthegreat at gmail.com> said:
>>
>>> The !() syntax seems to serve only as a heads up that it's a
>>> template. Otherwise (as far as I can tell) a simple foo(int)(bar,
>>> baaz) would work just as well as foo!(int)(bar, baaz).
>
> What about the ^ ? I think it's not worst than !
>
> foo^(int)(bar) but maybe this symbol is already used by D ?
> Personally I would prefer to keep the C++, Java, C# syntax with <>
> because people are used to it even if in some cases it looks like a bit
> shift op.
^ is for bitwise XOR!
Unless you use ^^
foo^^(int)(bar)
Not my cup of tea though.
More information about the Digitalmars-d
mailing list