Skip to content

Commit

Permalink
Fixed mistakes in ifstream and ofstream base class
Browse files Browse the repository at this point in the history
  • Loading branch information
lehshell committed Dec 30, 2020
1 parent 7e82207 commit d546055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reference/fstream/basic_ifstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
```cpp
namespace std {
template <class CharT, class Traits = char_traits<CharT>>
class basic_ifstream : public basic_iostream<CharT, Traits>;
class basic_ifstream : public basic_istream<CharT, Traits>;

using ifstream = basic_ifstream<char>;
using wifstream = basic_ifstream<wchar_t>;
Expand Down
2 changes: 1 addition & 1 deletion reference/fstream/basic_ofstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
```cpp
namespace std {
template <class CharT, class Traits = char_traits<CharT>>
class basic_ofstream : public basic_iostream<CharT, Traits>;
class basic_ofstream : public basic_ostream<CharT, Traits>;

using ofstream = basic_ofstream<char>;
using wofstream = basic_ofstream<wchar_t>;
Expand Down

0 comments on commit d546055

Please sign in to comment.