struct literals .. need to remember all D's features :) D1.046 seems SS aa["test"]=S(); works fine as well > Try: > > struct S { int i; } > S[char[]] aa; > > void main() { > aa["test"] = S(10); > } > > In theory a Sufficiently Smart Compiler is able to optimize that code > well. > > Bye, > bearophile