|
1343 | 1343 | @\libconcept{input_iterator}@<I> && (is_pointer_v<I> || requires(I i) { i.operator->(); });
|
1344 | 1344 |
|
1345 | 1345 | template<class T, class U>
|
1346 |
| - concept @\defexposconcept{not-same-as}@ = // \expos |
| 1346 | + concept @\defexposconcept{different-from}@ // \expos |
1347 | 1347 | !@\libconcept{same_as}@<remove_cvref_t<T>, remove_cvref_t<U>>;
|
1348 | 1348 | \end{codeblock}
|
1349 | 1349 |
|
|
1483 | 1483 | @\libconcept{convertible_to}@<From, To> &&
|
1484 | 1484 | !(is_pointer_v<decay_t<From>> &&
|
1485 | 1485 | is_pointer_v<decay_t<To>> &&
|
1486 |
| - @\exposconcept{not-same-as}@<remove_pointer_t<decay_t<From>>, remove_pointer_t<decay_t<To>>>); |
| 1486 | + @\exposconcept{different-from}@<remove_pointer_t<decay_t<From>>, remove_pointer_t<decay_t<To>>>); |
1487 | 1487 |
|
1488 | 1488 | template<class T>
|
1489 | 1489 | concept @\defexposconcept{pair-like}@ = // \expos
|
|
1523 | 1523 | @\placeholdernc{make-unsigned-like-t}@<iter_difference_t<I>> n)
|
1524 | 1524 | requires (K == subrange_kind::sized);
|
1525 | 1525 |
|
1526 |
| - template<@\exposconcept{not-same-as}@<subrange> R> |
| 1526 | + template<@\exposconcept{different-from}@<subrange> R> |
1527 | 1527 | requires @\libconcept{borrowed_range}@<R> &&
|
1528 | 1528 | @\exposconcept{convertible-to-non-slicing}@<iterator_t<R>, I> &&
|
1529 | 1529 | @\libconcept{convertible_to}@<sentinel_t<R>, S>
|
|
1537 | 1537 | : subrange{ranges::begin(r), ranges::end(r), n}
|
1538 | 1538 | {}
|
1539 | 1539 |
|
1540 |
| - template<@\exposconcept{not-same-as}@<subrange> PairLike> |
| 1540 | + template<@\exposconcept{different-from}@<subrange> PairLike> |
1541 | 1541 | requires @\exposconcept{pair-like-convertible-from}@<PairLike, const I&, const S&>
|
1542 | 1542 | constexpr operator PairLike() const;
|
1543 | 1543 |
|
|
1637 | 1637 |
|
1638 | 1638 | \indexlibraryctor{subrange}%
|
1639 | 1639 | \begin{itemdecl}
|
1640 |
| -template<@\exposconcept{not-same-as}@<subrange> R> |
| 1640 | +template<@\exposconcept{different-from}@<subrange> R> |
1641 | 1641 | requires @\libconcept{borrowed_range}@<R> &&
|
1642 | 1642 | @\exposconcept{convertible-to-non-slicing}@<iterator_t<R>, I> &&
|
1643 | 1643 | @\libconcept{convertible_to}@<sentinel_t<R>, S>
|
|
1657 | 1657 |
|
1658 | 1658 | \indexlibrarymember{operator \placeholder{PairLike}}{subrange}%
|
1659 | 1659 | \begin{itemdecl}
|
1660 |
| -template<@\exposconcept{not-same-as}@<subrange> PairLike> |
| 1660 | +template<@\exposconcept{different-from}@<subrange> PairLike> |
1661 | 1661 | requires @\exposconcept{pair-like-convertible-from}@<PairLike, const I&, const S&>
|
1662 | 1662 | constexpr operator PairLike() const;
|
1663 | 1663 | \end{itemdecl}
|
|
3116 | 3116 | public:
|
3117 | 3117 | constexpr ref_view() noexcept = default;
|
3118 | 3118 |
|
3119 |
| - template<@\exposconcept{not-same-as}@<ref_view> T> |
| 3119 | + template<@\exposconcept{different-from}@<ref_view> T> |
3120 | 3120 | requires @\seebelow@
|
3121 | 3121 | constexpr ref_view(T&& t);
|
3122 | 3122 |
|
|
3142 | 3142 |
|
3143 | 3143 | \indexlibraryglobal{ref_view}%
|
3144 | 3144 | \begin{itemdecl}
|
3145 |
| -template<@\exposconcept{not-same-as}@<ref_view> T> |
| 3145 | +template<@\exposconcept{different-from}@<ref_view> T> |
3146 | 3146 | requires @\seebelow@
|
3147 | 3147 | constexpr ref_view(T&& t);
|
3148 | 3148 | \end{itemdecl}
|
|
0 commit comments