RAII pointers

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 29 17:22:36 PDT 2017

On Monday, 29 May 2017 at 23:39:17 UTC, Russel Winder wrote:
> C++ allows one to create types that are pointer types but wrap 
> a primitive pointer to give RAII handling of resources. For 
> example:
> [...]

std.stdio.File does basically the same thing with C's FILE*

More information about the Digitalmars-d-learn mailing list