Skip to content

Commit

Permalink
borrowed_range : span<int>の要素は文字列ではなくint #1150
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed May 22, 2023
1 parent 0bbeedb commit c019c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/ranges/borrowed_range.md
Expand Up @@ -43,7 +43,7 @@ int main()
// string_viewは文字列を所有していないので、borrowed_rangeである
static_assert(std::ranges::borrowed_range<std::string_view>);
// spanは文字列を所有していないので、borrowed_rangeである
// spanはintを所有していないので、borrowed_rangeである
static_assert(std::ranges::borrowed_range<std::span<int>>);
}
```
Expand Down

0 comments on commit c019c0e

Please sign in to comment.