Header-Only Library - pragma(root)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Jun 14 16:05:39 UTC 2020


On 6/14/20 11:36 AM, Adam D. Ruppe wrote:
> On Sunday, 14 June 2020 at 10:24:33 UTC, Walter Bright wrote:
>> It would probably be better as the implementer, as a header-only 
>> library has to be designed for it.
> 
> That's not true. -i just works with almost any D code. It is enormously 
> useful exactly the way it is.

What code wouldn't it work with? Would be good to document those. "How 
to write a header-only D library". Blog post!


More information about the Digitalmars-d mailing list