tmp/tmp3b0m89hx/{from.md → to.md}
RENAMED
|
@@ -6,13 +6,13 @@
|
|
| 6 |
namespace std {
|
| 7 |
template<class charT, class traits = char_traits<charT>>
|
| 8 |
class basic_ios : public ios_base {
|
| 9 |
public:
|
| 10 |
using char_type = charT;
|
| 11 |
-
using int_type =
|
| 12 |
-
using pos_type =
|
| 13 |
-
using off_type =
|
| 14 |
using traits_type = traits;
|
| 15 |
|
| 16 |
// [iostate.flags], flags functions
|
| 17 |
explicit operator bool() const;
|
| 18 |
bool operator!() const;
|
|
@@ -158,17 +158,17 @@ locale imbue(const locale& loc);
|
|
| 158 |
|
| 159 |
``` cpp
|
| 160 |
char narrow(char_type c, char dfault) const;
|
| 161 |
```
|
| 162 |
|
| 163 |
-
*Returns:* `use_facet<ctype<char_type>>(getloc()).narrow(c, dfault)`
|
| 164 |
|
| 165 |
``` cpp
|
| 166 |
char_type widen(char c) const;
|
| 167 |
```
|
| 168 |
|
| 169 |
-
*Returns:* `use_facet<ctype<char_type>>(getloc()).widen(c)`
|
| 170 |
|
| 171 |
``` cpp
|
| 172 |
char_type fill() const;
|
| 173 |
```
|
| 174 |
|
|
@@ -304,11 +304,11 @@ void setstate(iostate state);
|
|
| 304 |
|
| 305 |
``` cpp
|
| 306 |
bool good() const;
|
| 307 |
```
|
| 308 |
|
| 309 |
-
*Returns:* `rdstate() == 0`
|
| 310 |
|
| 311 |
``` cpp
|
| 312 |
bool eof() const;
|
| 313 |
```
|
| 314 |
|
|
|
|
| 6 |
namespace std {
|
| 7 |
template<class charT, class traits = char_traits<charT>>
|
| 8 |
class basic_ios : public ios_base {
|
| 9 |
public:
|
| 10 |
using char_type = charT;
|
| 11 |
+
using int_type = traits::int_type;
|
| 12 |
+
using pos_type = traits::pos_type;
|
| 13 |
+
using off_type = traits::off_type;
|
| 14 |
using traits_type = traits;
|
| 15 |
|
| 16 |
// [iostate.flags], flags functions
|
| 17 |
explicit operator bool() const;
|
| 18 |
bool operator!() const;
|
|
|
|
| 158 |
|
| 159 |
``` cpp
|
| 160 |
char narrow(char_type c, char dfault) const;
|
| 161 |
```
|
| 162 |
|
| 163 |
+
*Returns:* `use_facet<ctype<char_type>>(getloc()).narrow(c, dfault)`.
|
| 164 |
|
| 165 |
``` cpp
|
| 166 |
char_type widen(char c) const;
|
| 167 |
```
|
| 168 |
|
| 169 |
+
*Returns:* `use_facet<ctype<char_type>>(getloc()).widen(c)`.
|
| 170 |
|
| 171 |
``` cpp
|
| 172 |
char_type fill() const;
|
| 173 |
```
|
| 174 |
|
|
|
|
| 304 |
|
| 305 |
``` cpp
|
| 306 |
bool good() const;
|
| 307 |
```
|
| 308 |
|
| 309 |
+
*Returns:* `rdstate() == 0`.
|
| 310 |
|
| 311 |
``` cpp
|
| 312 |
bool eof() const;
|
| 313 |
```
|
| 314 |
|