C++'s this() equivalent?

zjh fqbqrr at 163.com
Fri Jun 16 00:52:57 UTC 2023


On Friday, 16 June 2023 at 00:35:48 UTC, Steven Schveighoffer 
wrote:

> Instead, you can use factory functions to initialize.
>
-Steve

How can `factory functions` be used to achieve effects similar to 
`'RAII'`?
Thank you.



More information about the Digitalmars-d-learn mailing list