Why can't I give a function's return type the scope storage class?
Walter Bright
newshound2 at digitalmars.com
Tue Mar 19 03:16:04 UTC 2019
On 3/18/2019 7:28 PM, jmh530 wrote:
> BTW, did you see this:
> https://atilaoncode.blog/2019/03/13/issues-dip1000-cant-yet-catch/
C++ has no protection for its library types, except by convention. Translating
them by rote into D leaves those problems intact. They need to be redesigned
with D's mechanisms in mind for them to be memory safe. Leaking pointers to its
internals is exactly that sort of issue.
More information about the Digitalmars-d
mailing list