Manifest constant class instances

kinke noone at nowhere.com
Sun Nov 4 19:20:53 UTC 2018


On Sunday, 4 November 2018 at 19:02:33 UTC, lngns wrote:
> I can understand for pointers to struct, as the pointer will be 
> invalid at runtime, but, unless I am mistaken, classes are not 
> concerned by pointer semantics.

A class reference is a pointer too, so using it at runtime would 
be invalid too.


More information about the Digitalmars-d mailing list