Rename filln, filla, fillan into fill_n, fill_a, fill_an (same name as C++)

This commit is contained in:
Patrick Pelissier committed 2020-03-28 11:10:02 +01:00
1 parent bdf999a9fc
commit 86b6ad54d5
3 files changed
+10 -10

No files matched your search

+3 -3
View File
@@ -6342,19 +6342,19 @@ from the position 'it2'.
Set all elements of the container 'c' to 'value'.
##### void name\_filln(container\_t c, size\_t n, type\_t value)
##### void name\_fill\_n(container\_t c, size\_t n, type\_t value)
Set the container to 'n' elements equal to 'value'.
This method is defined only if the container exports a PUSH method.
##### void name\_filla(container\_t c, type\_t value, type\_t inc)
##### void name\_fill\_a(container\_t c, type\_t value, type\_t inc)
Set all elements of the container 'c' to 'value + i * inc'
with i = 0.. size(c)
This method is defined only if the base type exports an ADD method.
This method is defined only if the container exports a PUSH method.
##### void name\_fillan(container\_t c, size\_t n, type\_t value)
##### void name\_fill\_an(container\_t c, size\_t n, type\_t value)
Set the container to 'n' elements to 'value + i * inc'
with i = 0..n