tmp/tmpw7nhs97t/{from.md → to.md}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
#### Constructors, copy, and assignment <a id="set.cons">[[set.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
explicit set(const Compare& comp, const Allocator& = Allocator());
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 8 |
object and allocator.
|
| 9 |
|
| 10 |
*Complexity:* Constant.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
template<class InputIterator>
|
| 14 |
-
set(InputIterator first, InputIterator last,
|
| 15 |
const Compare& comp = Compare(), const Allocator& = Allocator());
|
| 16 |
```
|
| 17 |
|
| 18 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 19 |
object and allocator, and inserts elements from the range \[`first`,
|
|
@@ -23,11 +23,12 @@ object and allocator, and inserts elements from the range \[`first`,
|
|
| 23 |
sorted with respect to `comp` and otherwise N log N, where N is
|
| 24 |
`last - first`.
|
| 25 |
|
| 26 |
``` cpp
|
| 27 |
template<container-compatible-range<value_type> R>
|
| 28 |
-
set(from_range_t, R&& rg, const Compare& comp = Compare(),
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 32 |
object and allocator, and inserts elements from the range `rg`.
|
| 33 |
|
|
|
|
| 1 |
#### Constructors, copy, and assignment <a id="set.cons">[[set.cons]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr explicit set(const Compare& comp, const Allocator& = Allocator());
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 8 |
object and allocator.
|
| 9 |
|
| 10 |
*Complexity:* Constant.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
template<class InputIterator>
|
| 14 |
+
constexpr set(InputIterator first, InputIterator last,
|
| 15 |
const Compare& comp = Compare(), const Allocator& = Allocator());
|
| 16 |
```
|
| 17 |
|
| 18 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 19 |
object and allocator, and inserts elements from the range \[`first`,
|
|
|
|
| 23 |
sorted with respect to `comp` and otherwise N log N, where N is
|
| 24 |
`last - first`.
|
| 25 |
|
| 26 |
``` cpp
|
| 27 |
template<container-compatible-range<value_type> R>
|
| 28 |
+
constexpr set(from_range_t, R&& rg, const Compare& comp = Compare(),
|
| 29 |
+
const Allocator& = Allocator());
|
| 30 |
```
|
| 31 |
|
| 32 |
*Effects:* Constructs an empty `set` using the specified comparison
|
| 33 |
object and allocator, and inserts elements from the range `rg`.
|
| 34 |
|