Enhancement: issue error on all public functions that are missing ddoc sections

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 17:41:41 PDT 2015


On 3/20/2015 5:17 PM, Andrei Alexandrescu wrote:
> They're useful to prevent writes to foo.

That's true.


> Also as Amaury mentioned they give the
> implementer better options going forward. See debacle about C++'s std::pair's
> "first" and "second". "Of course they needn't be functions!" said everybody to
> the regret of future everybody. -- Andrei

Fortunately, D has property functions.



More information about the Digitalmars-d mailing list