Summary: Cannot use std.container.Array with a struct as type
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos

--- Comment #0 from Risto Saarelma <> 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

It looks like hasElaborateDestructor is not defined anywhere in the source

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to