Skip to content

Commit

Permalink
as_const_view::size() : コード表記修正
Browse files Browse the repository at this point in the history
  • Loading branch information
onihusube committed Sep 11, 2023
1 parent f3e3dbf commit afa4259
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions reference/ranges/as_const_view/size.md
Expand Up @@ -19,10 +19,12 @@ constexpr auto size() const requires sized_range<const V>; // (2)

## 戻り値

入力`view``V`)のオブジェクトを`base_`というメンバに保持するとして
入力`view``V`)のオブジェクトを`base_`というメンバに保持するとして、(1)(2)どちらも

- (1) : `return `[`ranges::size`](/reference/ranges/size.md)`(base_);`
- (2) : `return `[`ranges::size`](/reference/ranges/size.md)`(base_);`
```cpp
return ranges::size(base_);
```
* size[link /reference/ranges/size.md]

##

Expand Down

0 comments on commit afa4259

Please sign in to comment.