Why is this legal?

XavierAP via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 29 23:41:26 PDT 2017


On Wednesday, 29 March 2017 at 09:50:10 UTC, abad wrote:
> 
> Is this on purpose and what's the rationale?

In Andrei's book, chapter 6.9.1 "the non virtual interface (NVI) 
idiom" answers your question. It cites this article by Herb 
Sutter as the originator of the idea:

http://www.gotw.ca/publications/mill18.htm


More information about the Digitalmars-d-learn mailing list