Skip to content

Commit

Permalink
utility/unreachable: 微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
yohhoy committed Jan 25, 2023
1 parent 684d1f0 commit da68085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reference/utility/unreachable.md
Expand Up @@ -15,7 +15,7 @@ namespace std {
## 事前条件
`true`==`false`
`false`==`true`
## 備考
Expand Down Expand Up @@ -44,9 +44,9 @@ int flip(int x)
int main()
{
std::cout << f(0) << std::endl;
std::cout << f(1) << std::endl;
// f(2)呼び出しは未定義動作
std::cout << flip(0) << std::endl;
std::cout << flip(1) << std::endl;
// 例えば f(2) 呼び出しは未定義動作となる。
}
```
* std::unreachable[color ff0000]
Expand Down

0 comments on commit da68085

Please sign in to comment.