PIMPL Idiom in D

Walter Bright newshound2 at digitalmars.com
Fri May 25 18:03:52 UTC 2018


On 5/22/2018 6:27 AM, Steven Schveighoffer wrote:
> There's no need for the private struct.

That is correct. But pragmatically, I wanted the public interface to be very 
small and easily inspected. The struct is very large with many dependencies and 
hard to inspect to see what is public and what is private.



More information about the Digitalmars-d mailing list