1 #ifndef _STLP_STRING_IO_C 2 #define _STLP_STRING_IO_C 4 #ifndef _STLP_STRING_IO_H 8 #ifndef _STLP_INTERNAL_CTYPE_H 14 template <
class _CharT,
class _Traits>
19 _CharT __f = __os.
fill();
28 template <
class _CharT,
class _Traits,
class _Alloc>
38 typename __ostream::sentry __sentry(__os);
67 template <
class _CharT,
class _Traits,
class _Alloc>
77 typename __istream::sentry __sentry(__is);
84 const _C_type& _Ctype = use_facet<_C_type>(__loc);
94 else if (
sizeof(
streamsize) >
sizeof(size_type) &&
103 typename _Traits::int_type __c1 = __buf->
sbumpc();
109 _CharT
__c = _Traits::to_char_type(__c1);
131 template <
class _CharT,
class _Traits,
class _Alloc>
138 size_type __nread = 0;
145 int __c1 = __buf->
sbumpc();
152 _CharT
__c = _Traits::to_char_type(__c1);
160 if (__nread == 0 || __nread >= __s.
max_size())
basic_streambuf< _CharT, _Traits > * rdbuf() const
#define __STATIC_CAST(__x, __y)
basic_istream< _CharT, _Traits > &_STLP_CALL operator >>(basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Alloc > &__s)
const _CharT * data() const
int_type sputc(char_type __c)
#define eq(received, expected, label, type)
_STLP_BEGIN_NAMESPACE bool _STLP_CALL __stlp_string_fill(basic_ostream< _CharT, _Traits > &__os, basic_streambuf< _CharT, _Traits > *__buf, streamsize __n)
_Base::size_type size_type
basic_istream< _CharT, _Traits > &_STLP_CALL getline(basic_istream< _CharT, _Traits > &__is, basic_string< _CharT, _Traits, _Alloc > &__s, _CharT __delim)
_STLP_STATIC_ASSERT(sizeof(nl_catd_type)<=sizeof(int)) class _STLP_CLASS_DECLSPEC _Catalog_nl_catd_map
void push_back(_CharT __c)
basic_ostream< _CharT, _Traits > &_STLP_CALL operator<<(basic_ostream< _CharT, _Traits > &__os, const basic_string< _CharT, _Traits, _Alloc > &__s)
static const WCHAR space[]
void setstate(iostate __state)
streamsize sputn(const char_type *__s, streamsize __n)
_Check_return_ _CRTIMP int __cdecl __cdecl eof(_In_ int _FileHandle)
#define _STLP_END_NAMESPACE
int_type sputbackc(char_type __c)
#define _STLP_BEGIN_NAMESPACE
void reserve(size_type=0)
size_type max_size() const