std.templatecons ready for comments
Timon Gehr
timon.gehr at gmx.ch
Sun Nov 10 11:24:37 PST 2013
On 11/10/2013 05:50 PM, Ilya Yaroshenko wrote:
> Is it any reason why Temps[0]!(Arg) and
No, this is just an arbitrary grammar limitation.
> MetaTemps!(Arg)!(SecondArg) aren't allowed?
! hasn't been assigned an associativity, maybe in order to make
disambiguation explicit:
(MetaTemps!Arg)!SecondArg
MetaTemps!(Arg!SecondArg)
In any case. DMD rejects the first case because it parses it as an
illegal C-style cast on a logical not expression.
More information about the Digitalmars-d
mailing list