On 09/22/2014 03:26 PM, Daniel Murphy wrote:
"Timon Gehr"  wrote in message news:lvmh5b$eo9$1...@digitalmars.com...
When was int x(T)=2; introduced?

At the same time as enum x(T) = 2; I think.
...

Is this documented?

Also, C-style array syntax would actually be string results(T)[] = "";.

Nah, array type suffix goes before the template argument list.

It is results!T[2], not results[2]!T.

Reply via email to