Skip to content

Commit

Permalink
fix wording example render
Browse files Browse the repository at this point in the history
  • Loading branch information
slymz committed Jun 7, 2023
1 parent b2ea25d commit ded56ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions concat.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ the expression `views::concat(Es...)` is expression-equivalent to
and `views::all(Es...)` is a well formed expression,
- [2.2]{.pnum} otherwise, `concat_view(Es...)`

[*Example:*

\[*Example:*
```cpp
std::vector<int> v1{1,2,3}, v2{4,5}, v3{};
std::array a{6,7,8};
Expand All @@ -455,7 +454,7 @@ for(auto&& i : std::views::concat(v1, v2, v3, a, s)){
std::cout << i << ' '; // prints: 1 2 3 4 5 6 7 8 9
}
```
- *end example*]
- *end example*\]

#### ?.?.?.2 Class template `concat_view` [range.concat.view] {-}

Expand Down

0 comments on commit ded56ee

Please sign in to comment.