Hi, Ian!
On Tue, Jun 10, 2008 at 12:05:20PM -0700, Ian Lance Taylor wrote:
> Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> > Alan Mackenzie <[EMAIL PROTECTED]> writes:
> >> I'm thinking of things like
> >> foo (a < b, c > d);
[ ]
> Oh, wait, I forgot about constructors. This is val
> "Alan" == Alan Mackenzie <[EMAIL PROTECTED]> writes:
Alan> So, the question: is it possible to identify with 100% certainty, PURELY
Alan> SYNTACTICALLY (i.e. without access to the compiler's symbol table),
Alan> when "< ... >" is a pair of template (C++) or generic (Java) brackets?
In Java,
Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> Alan Mackenzie <[EMAIL PROTECTED]> writes:
>
>> I'm thinking of things like
>>
>> foo (a < b, c > d);
>>
>> I think this is unambiguously a function call with 2 parameters, the
>> expressions "a < b" and "c > d". It cannot be be one with 1 parame
Alan Mackenzie <[EMAIL PROTECTED]> writes:
> I'm thinking of things like
>
> foo (a < b, c > d);
>
> I think this is unambiguously a function call with 2 parameters, the
> expressions "a < b" and "c > d". It cannot be be one with 1 parameter
> beginning with the template invocation "a < b , c