Could we reserve void[T] for builtin set of T ?

Q. Schroll via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 1 04:59:26 PDT 2016


On Friday, 1 April 2016 at 08:52:40 UTC, Q. Schroll wrote:
> The methods add and remove return bool values that indicate the 
> state being changed:
> • add    returns true iff key has not been already present.
> • remove returns true iff key has     been already present.

Should have been

> The methods add and remove return bool values that indicate the 
> state being changed:
>  • add    returns true iff element has not been already present.
>  • remove returns true iff element has     been already present.

as we shouldn't call the elements of a set its "keys".


More information about the Digitalmars-d mailing list