23 #if defined (_STLP_MSVC) || defined (__MWERKS__) || defined (__ICL) || defined (__ISCPP__) 24 # define _STLP_USE_NOT_INIT_SEGMENT 34 #ifndef _STLP_USE_NAMESPACES 37 # define cin _STLP_cin 38 # define cout _STLP_cout 39 # define cerr _STLP_cerr 40 # define clog _STLP_clog 56 #if defined (_STLP_USE_NOT_INIT_SEGMENT) 64 # if defined (__MWERKS__) 65 # pragma suppress_init_code on 67 # pragma init_seg("STLPORT_NO_INIT") 75 # ifndef _STLP_NO_WCHAR_T 82 # if defined (__MWERKS__) 83 # pragma suppress_init_code off 110 # pragma alias("?cin@std@@3V?$basic_istream@std@DV?$char_traits@std@D@1@@1@A", "?cin@std@@3T?$_Stl_aligned_buffer@std@V?$basic_istream@std@DV?$char_traits@std@D@1@@1@@1@A") 111 # pragma alias("?cout@std@@3V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@A", "?cout@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@@1@A") 112 # pragma alias("?cerr@std@@3V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@A", "?cerr@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@@1@A") 113 # pragma alias("?clog@std@@3V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@A", "?clog@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@DV?$char_traits@std@D@1@@1@@1@A") 116 # ifndef _STLP_NO_WCHAR_T 129 # pragma alias("?wcin@std@@3V?$basic_istream@std@_YV?$char_traits@std@_Y@1@@1@A", "?wcin@std@@3T?$_Stl_aligned_buffer@std@V?$basic_istream@std@_YV?$char_traits@std@_Y@1@@1@@1@A") 130 # pragma alias("?wcout@std@@3V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@A", "?wcout@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@@1@A") 131 # pragma alias("?wcerr@std@@3V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@A", "?wcerr@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@@1@A") 132 # pragma alias("?wclog@std@@3V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@A", "?wclog@std@@3T?$_Stl_aligned_buffer@std@V?$basic_ostream@std@_YV?$char_traits@std@_Y@1@@1@@1@A") 152 if (--_S_count == 0) {
161 #ifdef _STLP_REDIRECT_STDSTREAMS 178 #if !defined (_STLP_NO_WCHAR_T) 192 #if !defined (_STLP_HAS_NO_NAMESPACES) && !defined (_STLP_DONT_USE_PRIV_NAMESPACE) 208 #ifdef _STLP_REDIRECT_STDSTREAMS 228 ptr_cin->
tie(ptr_cout);
231 #ifndef _STLP_NO_WCHAR_T 243 ptr_wcin->
tie(ptr_wcout);
261 delete ptr_cin->
rdbuf(0);
262 delete ptr_cout->
rdbuf(0);
263 delete ptr_cerr->
rdbuf(0);
264 delete ptr_clog->
rdbuf(0);
271 #ifndef _STLP_NO_WCHAR_T 283 delete ptr_wcin->
rdbuf(0);
284 delete ptr_wcout->
rdbuf(0);
285 delete ptr_wcerr->
rdbuf(0);
286 delete ptr_wclog->
rdbuf(0);
297 # if !defined (_STLP_HAS_NO_NAMESPACES) && !defined (_STLP_DONT_USE_PRIV_NAMESPACE) 322 #ifdef _STLP_REDIRECT_STDSTREAMS 338 if (cin_buf.
get() != 0 && cout_buf.
get() != 0 && cerr_buf.
get() != 0 && clog_buf.
get() != 0) {
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wcout
basic_ostream< char, char_traits< char > > ostream
basic_streambuf< _CharT, _Traits > * rdbuf() const
GLint GLint GLint GLint GLint x
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wcerr
_STLP_BEGIN_NAMESPACE int _FILE_fd(const FILE *__f)
static void _STLP_CALL _S_initialize()
static void _S_initialize()
void reset(_Tp *__px=0) _STLP_NOTHROW
_Tp * release() _STLP_NOTHROW
_Tp * get() const _STLP_NOTHROW
static bool _STLP_CALL sync_with_stdio(bool __sync=true)
basic_istream< char, char_traits< char > > istream
iostate exceptions() const
static void _STLP_CALL _S_uninitialize()
basic_istream< wchar_t, char_traits< wchar_t > > wistream
void _Destroy(_Tp *__pointer)
_STLP_DECLSPEC _Stl_aligned_buffer< wistream > wcin
static int _Stl_extract_open_param(FILE *f)
static wfilebuf * _Stl_create_wfilebuf(FILE *f, ios_base::openmode mode)
basic_ostream< wchar_t, char_traits< wchar_t > > wostream
basic_ostream< _CharT, _Traits > * tie() const
#define _STLP_END_NAMESPACE
static filebuf * _Stl_create_filebuf(_Tp x, ios_base::openmode mode)
fmtflags setf(fmtflags __flag)
#define _STLP_BEGIN_NAMESPACE
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wclog
ios_base &_STLP_CALL unitbuf(ios_base &__s)
GLuint const GLchar * name