`clear`ing a dynamic array
Shriramana Sharma via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Oct 25 07:23:58 PDT 2015
anonymous wrote:
>> I presume this means
>> http://dlang.org/phobos/std_array.html#.Appender.reserve but
>> how `append` is considered an operator is beyond me.
>
> That sentence doesn't refer to std.array.Appender. `reserve`
> means <http://dlang.org/phobos/object.html#.reserve>. The append
> operator is `~=`.
Thanks for that clarification. Now submitted a pull request.
--
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d-learn
mailing list