Skip to content

Commit dbea5ba

Browse files
committed
resolve ambiguity and fix TODO
1 parent 41e017c commit dbea5ba

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/dyn_array.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ idioms, `gsl::dyn_array` should satisfy the following named requirements:
2929
In addition to the constructors required by the named requirements (default, copy, and
3030
move), `gsl::dyn_array` will support the following constructors:
3131

32-
* Construct a `dyn_array` with `n` elements, each constructed with `Args...`:
32+
* Construct a `dyn_array` with `n` elements, each copy constructed from `arg`:
3333
```c++
34-
template <typename... Args>
35-
constexpr explicit dyn_array(size_t n, Args&&...);
36-
template <typename... Args>
37-
constexpr dyn_array(size_t n, const Allocator &, Args&&...);
38-
```
34+
constexpr explicit dyn_array(size_t n, const T& arg, const Allocator & alloc = Allocator());
35+
```
3936
4037
* Construct a `dyn_array` with elements from the range `[first, last)`:
4138
```c++

0 commit comments

Comments
 (0)