Virtual table in class without overloading

Adam D. Ruppe destructionator at gmail.com
Sat Apr 28 14:06:42 UTC 2018


On Saturday, 28 April 2018 at 11:52:50 UTC, Jonathan M Davis 
wrote:
> unless you're declaring the type as a class purely so that it's 
> forced to be a reference type.

You can do a struct as a reference type too - just make it a 
pimpl handle.


More information about the Digitalmars-d-learn mailing list