Skip to content

Commit 8bdc1f5

Browse files
authored
Fix and format basic_ostream::sentry syntax
1 parent 9366f69 commit 8bdc1f5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/standard-library/basic-ostream-class.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,13 @@ int main()
450450
The nested class describes an object whose declaration structures the formatted output functions and the unformatted output functions.
451451

452452
```cpp
453-
class sentry {
454-
public:
455-
explicit sentry(basic_ostream\<Elem, Tr>& _Ostr);
456-
operator bool() const;
457-
~sentry();
458-
};
453+
class sentry
454+
{
455+
public:
456+
explicit sentry(basic_ostream<Elem, Tr>& _Ostr);
457+
operator bool() const;
458+
~sentry();
459+
};
459460
```
460461

461462
### Remarks

0 commit comments

Comments
 (0)