23#if defined (_STLP_MSVC) || defined (__MWERKS__) || defined (__ICL) || defined (__ISCPP__)
24# define _STLP_USE_NOT_INIT_SEGMENT
34#ifndef _STLP_USE_NAMESPACES
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);
229 ptr_cerr->
setf(ios_base::unitbuf);
231#ifndef _STLP_NO_WCHAR_T
243 ptr_wcin->
tie(ptr_wcout);
244 ptr_wcerr->
setf(ios_base::unitbuf);
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) {
void _Destroy(_Tp *__pointer)
basic_ostream< char, char_traits< char > > ostream
basic_istream< char, char_traits< char > > istream
basic_ostream< wchar_t, char_traits< wchar_t > > wostream
basic_istream< wchar_t, char_traits< wchar_t > > wistream
_STLP_BEGIN_NAMESPACE int _FILE_fd(const FILE *__f)
static void _S_initialize()
void reset(_Tp *__px=0) _STLP_NOTHROW
_Tp * get() const _STLP_NOTHROW
_Tp * release() _STLP_NOTHROW
iostate exceptions() const
basic_streambuf< _CharT, _Traits > * rdbuf() const
basic_ostream< _CharT, _Traits > * tie() const
fmtflags setf(fmtflags __flag)
static bool _STLP_CALL sync_with_stdio(bool __sync=true)
static void _STLP_CALL _S_uninitialize()
static void _STLP_CALL _S_initialize()
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
GLint GLint GLint GLint GLint x
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wcout
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wcerr
static wfilebuf * _Stl_create_wfilebuf(FILE *f, ios_base::openmode mode)
static filebuf * _Stl_create_filebuf(_Tp x, ios_base::openmode mode)
static int _Stl_extract_open_param(FILE *f)
_STLP_DECLSPEC _Stl_aligned_buffer< wostream > wclog
_STLP_DECLSPEC _Stl_aligned_buffer< wistream > wcin