[Issue 16117] std.experimental.alloctor does not work with non default constructible types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 3 06:02:04 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16117

Dicebot <public at dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at dicebot.lv

--- Comment #1 from Dicebot <public at dicebot.lv> ---
I am insisting that there is no bug and the error message is legit. This code
doesn't compile either:

```
struct Foo{
    @disable this();
}

Foo[10] foo;

// Error: variable test.foo default construction is disabled for type Foo[10]
```

--


More information about the Digitalmars-d-bugs mailing list