mirror of git://gcc.gnu.org/git/gcc.git
* include/bits/ostream.tcc (operator<<(char*)): Add __s.
From-SVN: r124522
This commit is contained in:
parent
3eb5f26faa
commit
04055200ed
|
|
@ -1,5 +1,7 @@
|
|||
2007-05-07 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* include/bits/ostream.tcc (operator<<(char*)): Add __s.
|
||||
|
||||
* config/abi/pre/gnu.ver: Fix symbol versions.
|
||||
* config/abi/pre/gnu-versioned-namespace.ver: Likewise.
|
||||
|
||||
|
|
|
|||
|
|
@ -336,10 +336,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
{
|
||||
struct __ptr_guard
|
||||
{
|
||||
_CharT *p;
|
||||
__ptr_guard (_CharT *ip): p(ip) { }
|
||||
~__ptr_guard() { delete[] p; }
|
||||
_CharT* __get() { return p; }
|
||||
_CharT *__p;
|
||||
__ptr_guard (_CharT *__ip): __p(__ip) { }
|
||||
~__ptr_guard() { delete[] __p; }
|
||||
_CharT* __get() { return __p; }
|
||||
} __pg (new _CharT[__clen]);
|
||||
|
||||
_CharT *__ws = __pg.__get();
|
||||
|
|
|
|||
Loading…
Reference in New Issue