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

Max Samukha <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Max Samukha <[email protected]> ---
(In reply to mhh from comment #1)
> The struct is in a valid state

How is that? The default constructor is explicitly disabled to tell the
compiler that the init state is *not valid* for that struct type (it is even
dubbed "best practice" by p.6 of
https://dlang.org/spec/struct.html#field-init).

--

Reply via email to