Structs are Not Plain: A call for empty struct constructors

Max Samukha maxsamukha at gmail.com
Sat Sep 21 05:35:17 UTC 2019


On Friday, 20 September 2019 at 08:20:05 UTC, Kagamin wrote:
> On Friday, 20 September 2019 at 04:42:51 UTC, Max Samukha wrote:
>> That is why almost every D struct with a destructor is 
>> compelled to implement those opCall/external constructor/lazy 
>> initialization hacks.
>
> It may be because the empty state is valid for them.

For some of them, it is.


More information about the Digitalmars-d mailing list