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

Mike Franklin <slavo5...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slavo5...@yahoo.com

--- Comment #5 from Mike Franklin <slavo5...@yahoo.com> ---
One can also decorate class instances with `scope` which allocates them on the
stack instead of the GC.

One can also use `@disable new()` to prevent creating new instances of a type,
and instead delegate allocation and construction to factory methods.

--

Reply via email to