No header files?

digited digited at yandex.ru
Wed Oct 21 15:20:54 PDT 2009


AJ Wrote:

> Since D has no header files, how does one create "a library" that another 
> developer can use without exposing the implementation? 
> 
> 

If you need interfaces, just do them.

your_interfaces.d: interface WhatYouWantToShow {}
your_code.d: class WhatYouDontWantToShow : somePublicInterface {}



More information about the Digitalmars-d mailing list