mirror of
https://github.com/dlang/phobos.git
synced 2025-05-10 22:18:03 +03:00
Fixed issue 6193: Appender.clear() functionality or documentation
This commit is contained in:
parent
fde6d40447
commit
6452327a1b
2 changed files with 4 additions and 1 deletions
|
@ -1871,7 +1871,9 @@ Appends an entire range to the managed array.
|
|||
static if(!is(T == immutable) && !is(T == const))
|
||||
{
|
||||
/**
|
||||
Clears the managed array.
|
||||
Clears the managed array. This allows the elements of the array to be reused for appending.
|
||||
|
||||
Note that clear is disabled for immutable or const element types, due to the possibility that $(D Appender) might overwrite immutable data.
|
||||
*/
|
||||
void clear()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue