372 if (_Traits::eq_int_type(_Traits::eof(), _Meta))
373 return (_Traits::not_eof(_Meta));
381 return (_Traits::eof());
385 ? _Meta : _Traits::eof());
388 const int _STRING_INC = 8;
389 const _Elem
_Ch = _Traits::to_char_type(_Meta);
393 string _Str(_STRING_INC,
'\0');
396 &_Ch, &_Ch + 1, _Src,
397 &*_Str.begin(), &*_Str.begin() + _Str.size(),
_Dest))
402 size_t _Count = _Dest - &*_Str.begin();
403 if (0 < _Count && _Count !=
405 return (_Traits::eof());
413 else if (_Str.size() < 4 * _STRING_INC)
414 _Str.append(_STRING_INC,
'\0');
416 return (_Traits::eof());
425 return (_Traits::eof());
const _Cvt * _Pcvt
Definition: fstream:691
unsigned _Dest
Definition: mbstring.h:107
_Elem *__CLR_OR_THIS_CALL epptr() const
Definition: streambuf:257
void _Reset_back()
Definition: fstream:698
bool _Wrotesome
Definition: fstream:693
_Elem *__CLR_OR_THIS_CALL pptr() const
Definition: streambuf:234
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
_Filet * _Myfile
Definition: fstream:696
_Traits::state_type _State
Definition: fstream:694
_Diff _Count
Definition: algorithm:1941
_Elem *__CLR_OR_THIS_CALL _Pninc()
Definition: streambuf:305
_Check_return_opt_ _ACRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_ElementSize *_ElementCount) void const *_Buffer, _In_ size_t _ElementSize, _In_ size_t _ElementCount, _Inout_ FILE *_Stream)
result __CLR_OR_THIS_CALL out(_Statype &_State, const _Elem *_First1, const _Elem *_Last1, const _Elem *&_Mid1, _Byte *_First2, _Byte *_Last2, _Byte *&_Mid2) const
Definition: xlocale:823
bool _Fputc(_Elem _Ch, _Filet *_File)
Definition: fstream:76