Skip to content

Commit 2a6ccb4

Browse files
committed
fix links to swappable_with concept
swappable_withコンセプト説明はswappableコンセプトページに統合されている。
1 parent 729c591 commit 2a6ccb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reference/type_traits/is_nothrow_swappable_with.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace std {
2424
2525
2626
## 効果
27-
型`T`と`U`の間で[`std::swappable_with`](/reference/concepts/swappable_with.md.nolink)要件を満たしており、2つのswap関数が共に例外を投げない場合は[`true_type`](true_type.md)から派生し、そうでなければ[`false_type`](false_type.md)から派生する。
27+
型`T`と`U`の間で[`std::swappable_with`](/reference/concepts/swappable.md)要件を満たしており、2つのswap関数が共に例外を投げない場合は[`true_type`](true_type.md)から派生し、そうでなければ[`false_type`](false_type.md)から派生する。
2828
2929
型`T`と`U`は参照でなければswapできないので`T`と`U`が参照でない場合、結果は`false`となる。
3030

reference/type_traits/is_swappable_with.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ namespace std {
2323
2424
2525
## 効果
26-
型`T`と`U`の間で[`std::swappable_with`](/reference/concepts/swappable_with.md.nolink)要件を満たしていれば[`true_type`](true_type.md)から派生し、そうでなければ[`false_type`](false_type.md)から派生する。
26+
型`T`と`U`の間で[`std::swappable_with`](/reference/concepts/swappable.md)要件を満たしていれば[`true_type`](true_type.md)から派生し、そうでなければ[`false_type`](false_type.md)から派生する。
2727
2828
型`T`と`U`は参照でなければswapできないので`T`と`U`が参照でない場合、結果は`false`となる。
2929
30-
簡単に説明すると[`std::swappable_with`](/reference/concepts/swappable_with.md.nolink)要件を満たすとは、2引数を取りその引数の値を入れ替えるswap関数が以下のようなコードで見つかることである。
30+
簡単に説明すると[`std::swappable_with`](/reference/concepts/swappable.md)要件を満たすとは、2引数を取りその引数の値を入れ替えるswap関数が以下のようなコードで見つかることである。
3131
3232
```cpp
3333
#include <utility>

0 commit comments

Comments
 (0)