A Discussion of Tuple Syntax

QAston qaston at gmail.com
Wed Aug 21 12:18:25 PDT 2013


On Wednesday, 21 August 2013 at 16:39:14 UTC, Jacob Carlborg 
wrote:
> On 2013-08-21 18:01, Daniel Murphy wrote:
>
>> How about angle brackets?
>>
>> auto x = <1, 3>;
>> auto <a, b> = x;
>
> Aren't we then back to the same problems C++ have with its 
> template syntax?
I propose <<<<a, b>>>> to prevent any token ambiguities with <<< 
and >>.

PS. Poor Andrei.


More information about the Digitalmars-d mailing list