tmp/tmpczmkg9os/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Header `<concepts>` synopsis <a id="concepts.syn">[[concepts.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
// [concepts.lang], language-related concepts
|
| 6 |
+
// [concept.same], concept same_as
|
| 7 |
+
template<class T, class U>
|
| 8 |
+
concept same_as = see below;
|
| 9 |
+
|
| 10 |
+
// [concept.derived], concept derived_from
|
| 11 |
+
template<class Derived, class Base>
|
| 12 |
+
concept derived_from = see below;
|
| 13 |
+
|
| 14 |
+
// [concept.convertible], concept convertible_to
|
| 15 |
+
template<class From, class To>
|
| 16 |
+
concept convertible_to = see below;
|
| 17 |
+
|
| 18 |
+
// [concept.commonref], concept common_reference_with
|
| 19 |
+
template<class T, class U>
|
| 20 |
+
concept common_reference_with = see below;
|
| 21 |
+
|
| 22 |
+
// [concept.common], concept common_with
|
| 23 |
+
template<class T, class U>
|
| 24 |
+
concept common_with = see below;
|
| 25 |
+
|
| 26 |
+
// [concepts.arithmetic], arithmetic concepts
|
| 27 |
+
template<class T>
|
| 28 |
+
concept integral = see below;
|
| 29 |
+
template<class T>
|
| 30 |
+
concept signed_integral = see below;
|
| 31 |
+
template<class T>
|
| 32 |
+
concept unsigned_integral = see below;
|
| 33 |
+
template<class T>
|
| 34 |
+
concept floating_point = see below;
|
| 35 |
+
|
| 36 |
+
// [concept.assignable], concept assignable_from
|
| 37 |
+
template<class LHS, class RHS>
|
| 38 |
+
concept assignable_from = see below;
|
| 39 |
+
|
| 40 |
+
// [concept.swappable], concept swappable
|
| 41 |
+
namespace ranges {
|
| 42 |
+
inline namespace unspecified {
|
| 43 |
+
inline constexpr unspecified swap = unspecified;
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
template<class T>
|
| 47 |
+
concept swappable = see below;
|
| 48 |
+
template<class T, class U>
|
| 49 |
+
concept swappable_with = see below;
|
| 50 |
+
|
| 51 |
+
// [concept.destructible], concept destructible
|
| 52 |
+
template<class T>
|
| 53 |
+
concept destructible = see below;
|
| 54 |
+
|
| 55 |
+
// [concept.constructible], concept constructible_from
|
| 56 |
+
template<class T, class... Args>
|
| 57 |
+
concept constructible_from = see below;
|
| 58 |
+
|
| 59 |
+
// [concept.default.init], concept default_initializable
|
| 60 |
+
template<class T>
|
| 61 |
+
concept default_initializable = see below;
|
| 62 |
+
|
| 63 |
+
// [concept.moveconstructible], concept move_constructible
|
| 64 |
+
template<class T>
|
| 65 |
+
concept move_constructible = see below;
|
| 66 |
+
|
| 67 |
+
// [concept.copyconstructible], concept copy_constructible
|
| 68 |
+
template<class T>
|
| 69 |
+
concept copy_constructible = see below;
|
| 70 |
+
|
| 71 |
+
// [concepts.compare], comparison concepts
|
| 72 |
+
// [concept.equalitycomparable], concept equality_comparable
|
| 73 |
+
template<class T>
|
| 74 |
+
concept equality_comparable = see below;
|
| 75 |
+
template<class T, class U>
|
| 76 |
+
concept equality_comparable_with = see below;
|
| 77 |
+
|
| 78 |
+
// [concept.totallyordered], concept totally_ordered
|
| 79 |
+
template<class T>
|
| 80 |
+
concept totally_ordered = see below;
|
| 81 |
+
template<class T, class U>
|
| 82 |
+
concept totally_ordered_with = see below;
|
| 83 |
+
|
| 84 |
+
// [concepts.object], object concepts
|
| 85 |
+
template<class T>
|
| 86 |
+
concept movable = see below;
|
| 87 |
+
template<class T>
|
| 88 |
+
concept copyable = see below;
|
| 89 |
+
template<class T>
|
| 90 |
+
concept semiregular = see below;
|
| 91 |
+
template<class T>
|
| 92 |
+
concept regular = see below;
|
| 93 |
+
|
| 94 |
+
// [concepts.callable], callable concepts
|
| 95 |
+
// [concept.invocable], concept invocable
|
| 96 |
+
template<class F, class... Args>
|
| 97 |
+
concept invocable = see below;
|
| 98 |
+
|
| 99 |
+
// [concept.regularinvocable], concept regular_invocable
|
| 100 |
+
template<class F, class... Args>
|
| 101 |
+
concept regular_invocable = see below;
|
| 102 |
+
|
| 103 |
+
// [concept.predicate], concept predicate
|
| 104 |
+
template<class F, class... Args>
|
| 105 |
+
concept predicate = see below;
|
| 106 |
+
|
| 107 |
+
// [concept.relation], concept relation
|
| 108 |
+
template<class R, class T, class U>
|
| 109 |
+
concept relation = see below;
|
| 110 |
+
|
| 111 |
+
// [concept.equiv], concept equivalence_relation
|
| 112 |
+
template<class R, class T, class U>
|
| 113 |
+
concept equivalence_relation = see below;
|
| 114 |
+
|
| 115 |
+
// [concept.strictweakorder], concept strict_weak_order
|
| 116 |
+
template<class R, class T, class U>
|
| 117 |
+
concept strict_weak_order = see below;
|
| 118 |
+
}
|
| 119 |
+
```
|
| 120 |
+
|