Skip to content

Commit

Permalink
表示の調整
Browse files Browse the repository at this point in the history
  • Loading branch information
onihusube committed Aug 2, 2023
1 parent ea6381e commit 4e2bdcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions reference/iterator/basic_const_iterator/op_decrement.md
Expand Up @@ -28,6 +28,7 @@ constexpr basic_const_iterator operator--(int) requires bidirectional_iterator<I
--current_;
return *this;
```

- (2) : 以下と等価
```cpp
auto tmp = *this;
Expand Down
6 changes: 4 additions & 2 deletions reference/iterator/basic_const_iterator/op_increment.md
Expand Up @@ -17,8 +17,8 @@ constexpr basic_const_iterator operator++(int) requires forward_iterator<Iterato

イテレータをインクリメントする。

- (1) : 前置デクリメント
- (2)(3) : 後置デクリメント
- (1) : 前置インクリメント
- (2)(3) : 後置インクリメント

## 効果

Expand All @@ -29,7 +29,9 @@ constexpr basic_const_iterator operator++(int) requires forward_iterator<Iterato
++current_;
return *this;
```

- (2) : `++current_;`

- (3) : 以下と等価
```cpp
auto tmp = *this;
Expand Down

0 comments on commit 4e2bdcd

Please sign in to comment.