Skip to content

Commit 407084e

Browse files
committed
fix alloc formal
1 parent 75d0fe7 commit 407084e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/dyn_array.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,18 @@ constexpr dyn_array(size_t n, const Allocator &, Args&&...);
4040
* Construct a `dyn_array` with elements from the range `[first, last)`:
4141
```c++
4242
template <typename InputIt>
43-
constexpr dyn_array(InputIt first, InputIt last)
44-
template <typename InputIt>
4543
constexpr dyn_array(InputIt first, InputIt last, const Allocator & alloc = Allocator());
4644
```
4745

4846
* Construct a `dyn_array` with elements from the initializer list:
4947
```c++
50-
constexpr dyn_array(std::initializer_list<T>);
48+
constexpr dyn_array(std::initializer_list<T>, const Allocator & alloc = Allocator());
5149
```
5250
5351
* Construct a `dyn_array` with elements from the range `R`:
5452
```c++
55-
template <container-compatible-range<T> R> constexpr dyn_array(R&&);
53+
template <container-compatible-range<T> R>
54+
constexpr dyn_array(R&&, const Allocator & alloc = Allocator());
5655
```
5756

5857
### Operations

0 commit comments

Comments
 (0)