Tried to build the following on 64-bit Linux with DMD v2.049: ---- import std.container; struct X { int a; } void main() { auto c = Array!X(); } ---- I get this error message: src/phobos/std/container.d(1485): Error: template instance template 'hasElabo rateDestructor' is not defined src/phobos/std/container.d(1485): Error: hasElaborateDestructor!(X) is not an expression It looks like hasElaborateDestructor is not defined anywhere in the source tree.
i can confirm this does not work under win32 either. what is the use of a container that one cannot store user defined types in ? and where is the missing hasElaborateDestructor template ?
Fixed in http://www.dsource.org/projects/phobos/changeset/2364