Skip to content

Fix erroneous template class<... syntax in standard library references #5663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/standard-library/istream-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ A stream.
Skips white space in the stream.

```cpp
template class<Elem, Tr> basic_istream<Elem, Tr>& ws(basic_istream<Elem, Tr>& _Istr);
template <class Elem, class Tr>
basic_istream<Elem, Tr>& ws(basic_istream<Elem, Tr>& _Istr);
```

### Parameters
Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/ostream-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ These are the global template functions defined in `<ostream>`. For member funct
Terminates a line and flushes the buffer.

```cpp
template class<Elem, Tr>
template <class Elem, class Tr>
basic_ostream<Elem, Tr>& endl(
basic_ostream<Elem, Tr>& Ostr);
```
Expand Down Expand Up @@ -61,7 +61,7 @@ testing
Terminates a string.

```cpp
template class<Elem, Tr>
template <class Elem, class Tr>
basic_ostream<Elem, Tr>& ends(
basic_ostream<Elem, Tr>& Ostr);
```
Expand Down Expand Up @@ -110,7 +110,7 @@ ab c
Flushes the buffer.

```cpp
template class<Elem, Tr>
template <class Elem, class Tr>
basic_ostream<Elem, Tr>& flush(
basic_ostream<Elem, Tr>& Ostr);
```
Expand Down