On Monday, 20 September 2021 at 15:56:44 UTC, Ferhat Kurtulmuş
wrote:
On Monday, 20 September 2021 at 15:45:08 UTC, Adam D Ruppe
wrote:
On Monday, 20 September 2021 at 15:35:02 UTC, Ferhat Kurtulmuş
wrote:
I thought it's stack-allocated and scoped.
It is.
But when I try to return a class
On Monday, 20 September 2021 at 15:45:08 UTC, Adam D Ruppe wrote:
On Monday, 20 September 2021 at 15:35:02 UTC, Ferhat Kurtulmuş
wrote:
I thought it's stack-allocated and scoped.
It is.
But when I try to return a class instance from a function, it
still works?
dmd only makes that an error
On Monday, 20 September 2021 at 15:35:02 UTC, Ferhat Kurtulmuş
wrote:
I thought it's stack-allocated and scoped.
It is.
But when I try to return a class instance from a function, it
still works?
dmd only makes that an error if you specify `@safe` and i think
`-dip1000`. Try adding one or
On Saturday, 18 September 2021 at 22:16:32 UTC, Adam D Ruppe
wrote:
On Saturday, 18 September 2021 at 15:38:38 UTC, rempas wrote:
I'm seeing in the page about "BeterC" and in the part about
the [retained
features](https://dlang.org/spec/betterc.html#retained), the
#11 says about "COM classes
On Saturday, 18 September 2021 at 22:16:32 UTC, Adam D Ruppe
wrote:
On Saturday, 18 September 2021 at 15:38:38 UTC, rempas wrote:
I'm seeing in the page about "BeterC" and in the part about
the [retained
features](https://dlang.org/spec/betterc.html#retained), the
#11 says about "COM classes
On Saturday, 18 September 2021 at 15:38:38 UTC, rempas wrote:
I'm seeing in the page about "BeterC" and in the part about the
[retained
features](https://dlang.org/spec/betterc.html#retained), the
#11 says about "COM classes and C++ classes". What are the "C++
classes"? I tried to create a