STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
ostream File Reference
#include <ios>

Classes

class  basic_ostream< _Elem, _Traits >
 
class  basic_ostream< _Elem, _Traits >::_Sentry_base
 
class  basic_ostream< _Elem, _Traits >::sentry
 

Macros

#define _OSTREAM_
 
#define _TRY_IO_BEGIN   { /* begin try block */
 
#define _CATCH_IO_END   } /* catch block for _Myios */
 
#define _CATCH_IO_(x)   } /* catch block for basic_ios x */
 

Functions

template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const char *_Val)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, char _Ch)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, const char *_Val)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, char _Ch)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const _Elem *_Val)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, _Elem _Ch)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, const signed char *_Val)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, signed char _Ch)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, const unsigned char *_Val)
 
template<class _Traits >
basic_ostream< char, _Traits > & operator<< (basic_ostream< char, _Traits > &_Ostr, unsigned char _Ch)
 
template<class _Elem , class _Traits , class _Ty >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &&_Ostr, const _Ty &_Val)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > &__CLRCALL_OR_CDECL endl (basic_ostream< _Elem, _Traits > &_Ostr)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > &__CLRCALL_OR_CDECL ends (basic_ostream< _Elem, _Traits > &_Ostr)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > &__CLRCALL_OR_CDECL flush (basic_ostream< _Elem, _Traits > &_Ostr)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const error_code &_Errcode)
 

Macro Definition Documentation

#define _CATCH_IO_ (   x)    } /* catch block for basic_ios x */
#define _CATCH_IO_END   } /* catch block for _Myios */
#define _OSTREAM_
#define _TRY_IO_BEGIN   { /* begin try block */

Function Documentation

template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& __CLRCALL_OR_CDECL endl ( basic_ostream< _Elem, _Traits > &  _Ostr)
inline
983  { // insert newline and flush stream
984  _Ostr.put(_Ostr.widen('\n'));
985  _Ostr.flush();
986  return (_Ostr);
987  }
_Myt &__CLR_OR_THIS_CALL flush()
Definition: ostream:565
_Elem __CLR_OR_THIS_CALL widen(char _Byte) const
Definition: ios:128
_Myt &__CLR_OR_THIS_CALL put(_Elem _Ch)
Definition: ostream:525
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& __CLRCALL_OR_CDECL ends ( basic_ostream< _Elem, _Traits > &  _Ostr)
inline
993  { // insert null character
994  _Ostr.put(_Elem());
995  return (_Ostr);
996  }
_Myt &__CLR_OR_THIS_CALL put(_Elem _Ch)
Definition: ostream:525
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& __CLRCALL_OR_CDECL flush ( basic_ostream< _Elem, _Traits > &  _Ostr)
inline
1002  { // flush stream
1003  _Ostr.flush();
1004  return (_Ostr);
1005  }
_Myt &__CLR_OR_THIS_CALL flush()
Definition: ostream:565
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
const char _Val 
)
inline
772  { // insert NTBS into char stream
773  typedef char _Elem;
774  typedef basic_ostream<_Elem, _Traits> _Myos;
775  ios_base::iostate _State = ios_base::goodbit;
776  streamsize _Count = (streamsize)_Traits::length(_Val); // may overflow
777  streamsize _Pad = _Ostr.width() <= 0 || _Ostr.width() <= _Count
778  ? 0 : _Ostr.width() - _Count;
779  const typename _Myos::sentry _Ok(_Ostr);
780 
781  if (!_Ok)
782  _State |= ios_base::badbit;
783  else
784  { // state okay, insert
786  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
787  for (; 0 < _Pad; --_Pad) // pad on left
788  if (_Traits::eq_int_type(_Traits::eof(),
789  _Ostr.rdbuf()->sputc(_Ostr.fill())))
790  { // insertion failed, quit
791  _State |= ios_base::badbit;
792  break;
793  }
794 
795  if (_State == ios_base::goodbit
796  && _Ostr.rdbuf()->sputn(_Val, _Count) != _Count)
797  _State |= ios_base::badbit;
798 
799  if (_State == ios_base::goodbit)
800  for (; 0 < _Pad; --_Pad) // pad on right
801  if (_Traits::eq_int_type(_Traits::eof(),
802  _Ostr.rdbuf()->sputc(_Ostr.fill())))
803  { // insertion failed, quit
804  _State |= ios_base::badbit;
805  break;
806  }
807  _Ostr.width(0);
808  _CATCH_IO_(_Ostr)
809  }
810 
811  _Ostr.setstate(_State);
812  return (_Ostr);
813  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _TRY_IO_BEGIN
Definition: ostream:29
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
Definition: iosfwd:577
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
static constexpr _Iostate goodbit
Definition: xiosbase:86
_Diff _Count
Definition: algorithm:1941
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
static constexpr _Iostate badbit
Definition: xiosbase:89
_FwdIt const _Ty _Val
Definition: algorithm:1938
streamsize __CLR_OR_THIS_CALL sputn(const _Elem *_Ptr, streamsize _Count)
Definition: streambuf:204
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
char  _Ch 
)
inline
733  { // insert a character
734  ios_base::iostate _State = ios_base::goodbit;
735  const typename basic_ostream<_Elem, _Traits>::sentry _Ok(_Ostr);
736 
737  if (_Ok)
738  { // state okay, insert
739  const ctype<_Elem>& _Ctype_fac = _USE(_Ostr.getloc(), ctype<_Elem>);
740  streamsize _Pad = _Ostr.width() <= 1 ? 0 : _Ostr.width() - 1;
741 
743  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
744  for (; _State == ios_base::goodbit && 0 < _Pad;
745  --_Pad) // pad on left
746  if (_Traits::eq_int_type(_Traits::eof(),
747  _Ostr.rdbuf()->sputc(_Ostr.fill())))
748  _State |= ios_base::badbit;
749 
750  if (_State == ios_base::goodbit
751  && _Traits::eq_int_type(_Traits::eof(),
752  _Ostr.rdbuf()->sputc(_Ctype_fac.widen(_Ch))))
753  _State |= ios_base::badbit;
754 
755  for (; _State == ios_base::goodbit && 0 < _Pad;
756  --_Pad) // pad on right
757  if (_Traits::eq_int_type(_Traits::eof(),
758  _Ostr.rdbuf()->sputc(_Ostr.fill())))
759  _State |= ios_base::badbit;
760  _CATCH_IO_(_Ostr)
761  }
762 
763  _Ostr.width(0);
764  _Ostr.setstate(_State);
765  return (_Ostr);
766  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _USE(loc, fac)
Definition: xlocale:499
#define _TRY_IO_BEGIN
Definition: ostream:29
Definition: ostream:116
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:432
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
Definition: xlocale:2077
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
_Elem __CLR_OR_THIS_CALL widen(char _Byte) const
Definition: xlocale:2126
static constexpr _Iostate goodbit
Definition: xiosbase:86
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
static constexpr _Iostate badbit
Definition: xiosbase:89
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Elem , class _Traits , class _Ty >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &&  _Ostr,
const _Ty &  _Val 
)
inline
974  { // insert to rvalue stream
975  return (_Ostr << _Val);
976  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
unsigned char  _Ch 
)
inline
965  { // insert an unsigned char
966  return (_Ostr << (char)_Ch);
967  }
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
const unsigned char _Val 
)
inline
958  { // insert an unsigned char NTBS
959  return (_Ostr << (const char *)_Val);
960  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
char  _Ch 
)
inline
818  { // insert a char into char stream
819  typedef char _Elem;
820  typedef basic_ostream<_Elem, _Traits> _Myos;
821  ios_base::iostate _State = ios_base::goodbit;
822  const typename _Myos::sentry _Ok(_Ostr);
823 
824  if (_Ok)
825  { // state okay, insert
826  streamsize _Pad = _Ostr.width() <= 1 ? 0 : _Ostr.width() - 1;
827 
829  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
830  for (; _State == ios_base::goodbit && 0 < _Pad;
831  --_Pad) // pad on left
832  if (_Traits::eq_int_type(_Traits::eof(),
833  _Ostr.rdbuf()->sputc(_Ostr.fill())))
834  _State |= ios_base::badbit;
835 
836  if (_State == ios_base::goodbit
837  && _Traits::eq_int_type(_Traits::eof(),
838  _Ostr.rdbuf()->sputc(_Ch)))
839  _State |= ios_base::badbit;
840 
841  for (; _State == ios_base::goodbit && 0 < _Pad;
842  --_Pad) // pad on right
843  if (_Traits::eq_int_type(_Traits::eof(),
844  _Ostr.rdbuf()->sputc(_Ostr.fill())))
845  _State |= ios_base::badbit;
846  _CATCH_IO_(_Ostr)
847  }
848 
849  _Ostr.width(0);
850  _Ostr.setstate(_State);
851  return (_Ostr);
852  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _TRY_IO_BEGIN
Definition: ostream:29
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
Definition: iosfwd:577
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
static constexpr _Iostate goodbit
Definition: xiosbase:86
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
static constexpr _Iostate badbit
Definition: xiosbase:89
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
const signed char _Val 
)
inline
944  { // insert a signed char NTBS
945  return (_Ostr << (const char *)_Val);
946  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
_Elem  _Ch 
)
inline
905  { // insert a character
906  typedef basic_ostream<_Elem, _Traits> _Myos;
907 
908  ios_base::iostate _State = ios_base::goodbit;
909  const typename _Myos::sentry _Ok(_Ostr);
910 
911  if (_Ok)
912  { // state okay, insert
913  streamsize _Pad = _Ostr.width() <= 1 ? 0 : _Ostr.width() - 1;
914 
916  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
917  for (; _State == ios_base::goodbit && 0 < _Pad;
918  --_Pad) // pad on left
919  if (_Traits::eq_int_type(_Traits::eof(),
920  _Ostr.rdbuf()->sputc(_Ostr.fill())))
921  _State |= ios_base::badbit;
922 
923  if (_State == ios_base::goodbit
924  && _Traits::eq_int_type(_Traits::eof(),
925  _Ostr.rdbuf()->sputc(_Ch)))
926  _State |= ios_base::badbit;
927 
928  for (; _State == ios_base::goodbit && 0 < _Pad;
929  --_Pad) // pad on right
930  if (_Traits::eq_int_type(_Traits::eof(),
931  _Ostr.rdbuf()->sputc(_Ostr.fill())))
932  _State |= ios_base::badbit;
933  _CATCH_IO_(_Ostr)
934  }
935 
936  _Ostr.width(0);
937  _Ostr.setstate(_State);
938  return (_Ostr);
939  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _TRY_IO_BEGIN
Definition: ostream:29
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
Definition: iosfwd:577
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
static constexpr _Iostate goodbit
Definition: xiosbase:86
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
static constexpr _Iostate badbit
Definition: xiosbase:89
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const _Elem *  _Val 
)
inline
858  { // insert NTCS
859  typedef basic_ostream<_Elem, _Traits> _Myos;
860 
861  ios_base::iostate _State = ios_base::goodbit;
862  streamsize _Count = (streamsize)_Traits::length(_Val); // may overflow
863  streamsize _Pad = _Ostr.width() <= 0 || _Ostr.width() <= _Count
864  ? 0 : _Ostr.width() - _Count;
865  const typename _Myos::sentry _Ok(_Ostr);
866 
867  if (!_Ok)
868  _State |= ios_base::badbit;
869  else
870  { // state okay, insert
872  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
873  for (; 0 < _Pad; --_Pad) // pad on left
874  if (_Traits::eq_int_type(_Traits::eof(),
875  _Ostr.rdbuf()->sputc(_Ostr.fill())))
876  { // insertion failed, quit
877  _State |= ios_base::badbit;
878  break;
879  }
880 
881  if (_State == ios_base::goodbit
882  && _Ostr.rdbuf()->sputn(_Val, _Count) != _Count)
883  _State |= ios_base::badbit;
884 
885  if (_State == ios_base::goodbit)
886  for (; 0 < _Pad; --_Pad) // pad on right
887  if (_Traits::eq_int_type(_Traits::eof(),
888  _Ostr.rdbuf()->sputc(_Ostr.fill())))
889  { // insertion failed, quit
890  _State |= ios_base::badbit;
891  break;
892  }
893  _Ostr.width(0);
894  _CATCH_IO_(_Ostr)
895  }
896 
897  _Ostr.setstate(_State);
898  return (_Ostr);
899  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _TRY_IO_BEGIN
Definition: ostream:29
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
Definition: iosfwd:577
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
static constexpr _Iostate goodbit
Definition: xiosbase:86
_Diff _Count
Definition: algorithm:1941
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
static constexpr _Iostate badbit
Definition: xiosbase:89
_FwdIt const _Ty _Val
Definition: algorithm:1938
streamsize __CLR_OR_THIS_CALL sputn(const _Elem *_Ptr, streamsize _Count)
Definition: streambuf:204
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Traits >
basic_ostream<char, _Traits>& operator<< ( basic_ostream< char, _Traits > &  _Ostr,
signed char  _Ch 
)
inline
951  { // insert a signed char
952  return (_Ostr << (char)_Ch);
953  }
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const char _Val 
)
inline
686  { // insert NTBS
687  ios_base::iostate _State = ios_base::goodbit;
688  streamsize _Count = (streamsize)_CSTD strlen(_Val); // may overflow
689  streamsize _Pad = _Ostr.width() <= 0 || _Ostr.width() <= _Count
690  ? 0 : _Ostr.width() - _Count;
691  const typename basic_ostream<_Elem, _Traits>::sentry _Ok(_Ostr);
692 
693  if (!_Ok)
694  _State |= ios_base::badbit;
695  else
696  { // state okay, insert characters
698  const ctype<_Elem>& _Ctype_fac = _USE(_Ostr.getloc(), ctype<_Elem>);
699  if ((_Ostr.flags() & ios_base::adjustfield) != ios_base::left)
700  for (; 0 < _Pad; --_Pad) // pad on left
701  if (_Traits::eq_int_type(_Traits::eof(),
702  _Ostr.rdbuf()->sputc(_Ostr.fill())))
703  { // insertion failed, quit
704  _State |= ios_base::badbit;
705  break;
706  }
707 
708  for (; _State == ios_base::goodbit && 0 < _Count; --_Count, ++_Val)
709  if (_Traits::eq_int_type(_Traits::eof(),
710  _Ostr.rdbuf()->sputc(_Ctype_fac.widen(*_Val))))
711  _State |= ios_base::badbit;
712 
713  if (_State == ios_base::goodbit)
714  for (; 0 < _Pad; --_Pad) // pad on right
715  if (_Traits::eq_int_type(_Traits::eof(),
716  _Ostr.rdbuf()->sputc(_Ostr.fill())))
717  { // insertion failed, quit
718  _State |= ios_base::badbit;
719  break;
720  }
721  _Ostr.width(0);
722  _CATCH_IO_(_Ostr)
723  }
724 
725  _Ostr.setstate(_State);
726  return (_Ostr);
727  }
#define _CATCH_IO_(x)
Definition: ostream:31
long long streamsize
Definition: iosfwd:23
#define _USE(loc, fac)
Definition: xlocale:499
_Check_return_ size_t __cdecl strlen(_In_z_ char const *_Str)
#define _TRY_IO_BEGIN
Definition: ostream:29
Definition: ostream:116
locale __CLR_OR_THIS_CALL getloc() const
Definition: xiosbase:432
_Mysb *__CLR_OR_THIS_CALL rdbuf() const
Definition: ios:89
_Elem __CLR_OR_THIS_CALL fill() const
Definition: ios:110
fmtflags __CLR_OR_THIS_CALL flags() const
Definition: xiosbase:375
Definition: xlocale:2077
_In_ size_t _Deref_pre_opt_z_ char const _In_ size_t _Inout_ mbstate_t * _State
Definition: wchar.h:78
streamsize __CLR_OR_THIS_CALL width() const
Definition: xiosbase:420
static constexpr _Iostate goodbit
Definition: xiosbase:86
_Diff _Count
Definition: algorithm:1941
int_type __CLR_OR_THIS_CALL sputc(_Elem _Ch)
Definition: streambuf:197
#define _CSTD
Definition: yvals.h:570
static constexpr _Iostate badbit
Definition: xiosbase:89
_FwdIt const _Ty _Val
Definition: algorithm:1938
void __CLR_OR_THIS_CALL setstate(iostate _State, bool _Reraise=false)
Definition: ios:55
static constexpr _Fmtflags adjustfield
Definition: xiosbase:75
Definition: xthread:165
static constexpr _Fmtflags left
Definition: xiosbase:61
template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  _Ostr,
const error_code _Errcode 
)
inline
1013  { // display error code
1014  return (_Ostr << _Errcode.category().name() << ':' << _Errcode.value());
1015  }
int value() const _NOEXCEPT
Definition: system_error:263
const error_category & category() const _NOEXCEPT
Definition: system_error:268
virtual const char * name() const _NOEXCEPT=0