Type inference and overloaded functions

Namespace rswhite4 at googlemail.com
Tue Dec 10 06:17:26 PST 2013


On Tuesday, 10 December 2013 at 12:54:58 UTC, bearophile wrote:
> Jonathan M Davis:
>
>> and while [1, 2, 3]s is nice and  short, all it does
>> over staticLiteral([1, 2, 3]) is save some typing, and it 
>> requires language changes,
>
> [1, 2, 3]s  seems nice.

What's with {1, 2, 3}? Should be easy to implement and it's known 
from C/C++/Java/C#


More information about the Digitalmars-d-learn mailing list