File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ template <std::forward_iterator Iterator> class partitioning {
4545
4646 // / Returns the size of the part `part_index`.
4747 // /
48- // / Defined only for random access collections.
49- // /
5048 // / Complexity: O(1) for random access iterators, O(n) otherwise.
5149 [[nodiscard]]
5250 size_t part_size (size_t part_index) const ;
@@ -62,7 +60,7 @@ template <std::forward_iterator Iterator> class partitioning {
6260 // / boundary forward by `n` elements, and decreasing the size of the next part.
6361 // /
6462 // / - Precondition: `part_index + 1 < parts_count()`
65- // / - Precondition: size of part ` part_index + 1` >= ` n`
63+ // / - Precondition: `part_size( part_index + 1) >= n`
6664 // / - Complexity: O(n) for forward iterators, O(1) for random access iterators
6765 void grow_by (size_t part_index, size_t n);
6866
You can’t perform that action at this time.
0 commit comments