cannot initalize a struct for AA

Michelle Long HappyDance321 at gmail.com
Sat Dec 15 02:22:51 UTC 2018


AA[key] = {a,b,c};

fails.

T a = {a,b,c};
AA[key] = a;

passes.

The extra line is required simply to work, but there should be no 
difference semantically.




More information about the Digitalmars-d mailing list