On Thursday, 29 November 2018 at 18:31:41 UTC, SimonN wrote:
On Monday, 19 November 2018 at 21:23:31 UTC, Jordi Gutiérrez
Hermoso wrote:
When I was first playing with D, I managed to create a segfault
What's the reasoning for allowing this?
100 % agree that there should be non-nullable class references,
they're my main missing feature in D. Likewise, I'm astonished
that only few D users wish for them.
https://github.com/aliak00/optional/blob/master/source/optional/notnull.d
"But I don't like the verbosity!"
alias MyClass = NotNullable!MyClassImpl;