mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
ios_base.h (ios_base::Init::_S_initialized()): Added _S_initialized() in order to allow debugging libraries to detect when...
2003-03-05 Carlo Wood <carlo@alinoe.com> * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added _S_initialized() in order to allow debugging libraries to detect when the std streams are initialized from an overloaded operator new. From-SVN: r63852
This commit is contained in:
parent
83e924e101
commit
0530d3b00b
@ -1,3 +1,10 @@
|
||||
2003-03-05 Carlo Wood <carlo@alinoe.com>
|
||||
|
||||
* include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
|
||||
_S_initialized() in order to allow debugging libraries to detect
|
||||
when the std streams are initialized from an overloaded operator
|
||||
new.
|
||||
|
||||
2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* libsupc++/demangle.h: Move to..
|
||||
|
@ -458,6 +458,12 @@ namespace std
|
||||
static void
|
||||
_S_ios_destroy();
|
||||
|
||||
// NB: Allows debugger applications use of the standard streams
|
||||
// from operator new. _S_ios_base_init must be incremented in
|
||||
// _S_ios_create _after_ initialization is completed.
|
||||
static bool
|
||||
_S_initialized() { return _S_ios_base_init; }
|
||||
|
||||
private:
|
||||
static int _S_ios_base_init;
|
||||
static bool _S_synced_with_stdio;
|
||||
|
Loading…
Reference in New Issue
Block a user