review of std.parallelism

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Mar 19 09:09:33 PDT 2011


On 03/19/2011 10:28 AM, dsimcha wrote:
> On 3/19/2011 10:54 AM, Andrei Alexandrescu wrote:
>> Towards the bottom of the document there are overloads of task that
>> don't have examples.
>
> You mean TaskPool.task()? Since these are such slight variations of the
> other overloads, I thought an example would be overkill. Since people
> less familiar with the library don't think so, though, I've added
> examples that are accordingly slight variations of the examples for the
> other overloads.

A great way to handle bunches of almost-identical overloads is to group 
them together with /// ditto and explain the slight differences in the 
consolidated documentation.

Andrei


More information about the Digitalmars-d mailing list