[Issue 13182] extern(C++) classes cause crash when allocated on the stack with scope

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 22 01:53:18 PDT 2014


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

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #2 from bearophile_hugs at eml.cc ---
(In reply to yebblies from comment #0)

> void main()
> {
>     scope C c = new C();
> }

Isn't that usage of scope deprecated? And isn't it better to fix language parts
that are not deprecated?

--


More information about the Digitalmars-d-bugs mailing list