http://d.puremagic.com/issues/show_bug.cgi?id=4942
Summary: Cannot use std.container.Array with a struct as type parameter Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: rsaar...@gmail.com --- Comment #0 from Risto Saarelma <rsaar...@gmail.com> 2010-09-26 00:52:15 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------