dynamic array during appending to array of static array?

Namespace rswhite4 at googlemail.com
Mon Dec 2 14:09:14 PST 2013


----
void main() {
	float[3][] arr;
	arr ~= [1, 2, 3];
}
----
It seems [1, 2, 3] is in this case erroneously a dynamic array 
(according to objconv). So is it also erroneously allocated on 
the heap?


More information about the Digitalmars-d-learn mailing list