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*