OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libstdc++-v3/] [include/] [bits/] [ostream.tcc] - Diff between revs 742 and 783

Only display areas with differences | Details | Blame | View Log

Rev 742 Rev 783
// ostream classes -*- C++ -*-
// ostream classes -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010, 2011
// 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc.
// Free Software Foundation, Inc.
//
//
// This file is part of the GNU ISO C++ Library.  This library is free
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// any later version.
// This library is distributed in the hope that it will be useful,
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// GNU General Public License for more details.
// Under Section 7 of GPL version 3, you are granted additional
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// .
// .
/** @file bits/ostream.tcc
/** @file bits/ostream.tcc
 *  This is an internal header file, included by other library headers.
 *  This is an internal header file, included by other library headers.
 *  Do not attempt to use it directly. @headername{ostream}
 *  Do not attempt to use it directly. @headername{ostream}
 */
 */
//
//
// ISO C++ 14882: 27.6.2  Output streams
// ISO C++ 14882: 27.6.2  Output streams
//
//
#ifndef _OSTREAM_TCC
#ifndef _OSTREAM_TCC
#define _OSTREAM_TCC 1
#define _OSTREAM_TCC 1
#pragma GCC system_header
#pragma GCC system_header
#include 
#include 
namespace std _GLIBCXX_VISIBILITY(default)
namespace std _GLIBCXX_VISIBILITY(default)
{
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_BEGIN_NAMESPACE_VERSION
  template
  template
    basic_ostream<_CharT, _Traits>::sentry::
    basic_ostream<_CharT, _Traits>::sentry::
    sentry(basic_ostream<_CharT, _Traits>& __os)
    sentry(basic_ostream<_CharT, _Traits>& __os)
    : _M_ok(false), _M_os(__os)
    : _M_ok(false), _M_os(__os)
    {
    {
      // XXX MT
      // XXX MT
      if (__os.tie() && __os.good())
      if (__os.tie() && __os.good())
        __os.tie()->flush();
        __os.tie()->flush();
      if (__os.good())
      if (__os.good())
        _M_ok = true;
        _M_ok = true;
      else
      else
        __os.setstate(ios_base::failbit);
        __os.setstate(ios_base::failbit);
    }
    }
  template
  template
    template
    template
      basic_ostream<_CharT, _Traits>&
      basic_ostream<_CharT, _Traits>&
      basic_ostream<_CharT, _Traits>::
      basic_ostream<_CharT, _Traits>::
      _M_insert(_ValueT __v)
      _M_insert(_ValueT __v)
      {
      {
        sentry __cerb(*this);
        sentry __cerb(*this);
        if (__cerb)
        if (__cerb)
          {
          {
            ios_base::iostate __err = ios_base::goodbit;
            ios_base::iostate __err = ios_base::goodbit;
            __try
            __try
              {
              {
                const __num_put_type& __np = __check_facet(this->_M_num_put);
                const __num_put_type& __np = __check_facet(this->_M_num_put);
                if (__np.put(*this, *this, this->fill(), __v).failed())
                if (__np.put(*this, *this, this->fill(), __v).failed())
                  __err |= ios_base::badbit;
                  __err |= ios_base::badbit;
              }
              }
            __catch(__cxxabiv1::__forced_unwind&)
            __catch(__cxxabiv1::__forced_unwind&)
              {
              {
                this->_M_setstate(ios_base::badbit);
                this->_M_setstate(ios_base::badbit);
                __throw_exception_again;
                __throw_exception_again;
              }
              }
            __catch(...)
            __catch(...)
              { this->_M_setstate(ios_base::badbit); }
              { this->_M_setstate(ios_base::badbit); }
            if (__err)
            if (__err)
              this->setstate(__err);
              this->setstate(__err);
          }
          }
        return *this;
        return *this;
      }
      }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    operator<<(short __n)
    operator<<(short __n)
    {
    {
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // 117. basic_ostream uses nonexistent num_put member functions.
      // 117. basic_ostream uses nonexistent num_put member functions.
      const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
      const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
      if (__fmt == ios_base::oct || __fmt == ios_base::hex)
      if (__fmt == ios_base::oct || __fmt == ios_base::hex)
        return _M_insert(static_cast(static_cast(__n)));
        return _M_insert(static_cast(static_cast(__n)));
      else
      else
        return _M_insert(static_cast(__n));
        return _M_insert(static_cast(__n));
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    operator<<(int __n)
    operator<<(int __n)
    {
    {
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // 117. basic_ostream uses nonexistent num_put member functions.
      // 117. basic_ostream uses nonexistent num_put member functions.
      const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
      const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield;
      if (__fmt == ios_base::oct || __fmt == ios_base::hex)
      if (__fmt == ios_base::oct || __fmt == ios_base::hex)
        return _M_insert(static_cast(static_cast(__n)));
        return _M_insert(static_cast(static_cast(__n)));
      else
      else
        return _M_insert(static_cast(__n));
        return _M_insert(static_cast(__n));
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    operator<<(__streambuf_type* __sbin)
    operator<<(__streambuf_type* __sbin)
    {
    {
      ios_base::iostate __err = ios_base::goodbit;
      ios_base::iostate __err = ios_base::goodbit;
      sentry __cerb(*this);
      sentry __cerb(*this);
      if (__cerb && __sbin)
      if (__cerb && __sbin)
        {
        {
          __try
          __try
            {
            {
              if (!__copy_streambufs(__sbin, this->rdbuf()))
              if (!__copy_streambufs(__sbin, this->rdbuf()))
                __err |= ios_base::failbit;
                __err |= ios_base::failbit;
            }
            }
          __catch(__cxxabiv1::__forced_unwind&)
          __catch(__cxxabiv1::__forced_unwind&)
            {
            {
              this->_M_setstate(ios_base::badbit);
              this->_M_setstate(ios_base::badbit);
              __throw_exception_again;
              __throw_exception_again;
            }
            }
          __catch(...)
          __catch(...)
            { this->_M_setstate(ios_base::failbit); }
            { this->_M_setstate(ios_base::failbit); }
        }
        }
      else if (!__sbin)
      else if (!__sbin)
        __err |= ios_base::badbit;
        __err |= ios_base::badbit;
      if (__err)
      if (__err)
        this->setstate(__err);
        this->setstate(__err);
      return *this;
      return *this;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    put(char_type __c)
    put(char_type __c)
    {
    {
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // DR 60. What is a formatted input function?
      // DR 60. What is a formatted input function?
      // basic_ostream::put(char_type) is an unformatted output function.
      // basic_ostream::put(char_type) is an unformatted output function.
      // DR 63. Exception-handling policy for unformatted output.
      // DR 63. Exception-handling policy for unformatted output.
      // Unformatted output functions should catch exceptions thrown
      // Unformatted output functions should catch exceptions thrown
      // from streambuf members.
      // from streambuf members.
      sentry __cerb(*this);
      sentry __cerb(*this);
      if (__cerb)
      if (__cerb)
        {
        {
          ios_base::iostate __err = ios_base::goodbit;
          ios_base::iostate __err = ios_base::goodbit;
          __try
          __try
            {
            {
              const int_type __put = this->rdbuf()->sputc(__c);
              const int_type __put = this->rdbuf()->sputc(__c);
              if (traits_type::eq_int_type(__put, traits_type::eof()))
              if (traits_type::eq_int_type(__put, traits_type::eof()))
                __err |= ios_base::badbit;
                __err |= ios_base::badbit;
            }
            }
          __catch(__cxxabiv1::__forced_unwind&)
          __catch(__cxxabiv1::__forced_unwind&)
            {
            {
              this->_M_setstate(ios_base::badbit);
              this->_M_setstate(ios_base::badbit);
              __throw_exception_again;
              __throw_exception_again;
            }
            }
          __catch(...)
          __catch(...)
            { this->_M_setstate(ios_base::badbit); }
            { this->_M_setstate(ios_base::badbit); }
          if (__err)
          if (__err)
            this->setstate(__err);
            this->setstate(__err);
        }
        }
      return *this;
      return *this;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    write(const _CharT* __s, streamsize __n)
    write(const _CharT* __s, streamsize __n)
    {
    {
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // DR 60. What is a formatted input function?
      // DR 60. What is a formatted input function?
      // basic_ostream::write(const char_type*, streamsize) is an
      // basic_ostream::write(const char_type*, streamsize) is an
      // unformatted output function.
      // unformatted output function.
      // DR 63. Exception-handling policy for unformatted output.
      // DR 63. Exception-handling policy for unformatted output.
      // Unformatted output functions should catch exceptions thrown
      // Unformatted output functions should catch exceptions thrown
      // from streambuf members.
      // from streambuf members.
      sentry __cerb(*this);
      sentry __cerb(*this);
      if (__cerb)
      if (__cerb)
        {
        {
          __try
          __try
            { _M_write(__s, __n); }
            { _M_write(__s, __n); }
          __catch(__cxxabiv1::__forced_unwind&)
          __catch(__cxxabiv1::__forced_unwind&)
            {
            {
              this->_M_setstate(ios_base::badbit);
              this->_M_setstate(ios_base::badbit);
              __throw_exception_again;
              __throw_exception_again;
            }
            }
          __catch(...)
          __catch(...)
            { this->_M_setstate(ios_base::badbit); }
            { this->_M_setstate(ios_base::badbit); }
        }
        }
      return *this;
      return *this;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    flush()
    flush()
    {
    {
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // DR 60. What is a formatted input function?
      // DR 60. What is a formatted input function?
      // basic_ostream::flush() is *not* an unformatted output function.
      // basic_ostream::flush() is *not* an unformatted output function.
      ios_base::iostate __err = ios_base::goodbit;
      ios_base::iostate __err = ios_base::goodbit;
      __try
      __try
        {
        {
          if (this->rdbuf() && this->rdbuf()->pubsync() == -1)
          if (this->rdbuf() && this->rdbuf()->pubsync() == -1)
            __err |= ios_base::badbit;
            __err |= ios_base::badbit;
        }
        }
      __catch(__cxxabiv1::__forced_unwind&)
      __catch(__cxxabiv1::__forced_unwind&)
        {
        {
          this->_M_setstate(ios_base::badbit);
          this->_M_setstate(ios_base::badbit);
          __throw_exception_again;
          __throw_exception_again;
        }
        }
      __catch(...)
      __catch(...)
        { this->_M_setstate(ios_base::badbit); }
        { this->_M_setstate(ios_base::badbit); }
      if (__err)
      if (__err)
        this->setstate(__err);
        this->setstate(__err);
      return *this;
      return *this;
    }
    }
  template
  template
    typename basic_ostream<_CharT, _Traits>::pos_type
    typename basic_ostream<_CharT, _Traits>::pos_type
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    tellp()
    tellp()
    {
    {
      pos_type __ret = pos_type(-1);
      pos_type __ret = pos_type(-1);
      __try
      __try
        {
        {
          if (!this->fail())
          if (!this->fail())
            __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out);
            __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out);
        }
        }
      __catch(__cxxabiv1::__forced_unwind&)
      __catch(__cxxabiv1::__forced_unwind&)
        {
        {
          this->_M_setstate(ios_base::badbit);
          this->_M_setstate(ios_base::badbit);
          __throw_exception_again;
          __throw_exception_again;
        }
        }
      __catch(...)
      __catch(...)
        { this->_M_setstate(ios_base::badbit); }
        { this->_M_setstate(ios_base::badbit); }
      return __ret;
      return __ret;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    seekp(pos_type __pos)
    seekp(pos_type __pos)
    {
    {
      ios_base::iostate __err = ios_base::goodbit;
      ios_base::iostate __err = ios_base::goodbit;
      __try
      __try
        {
        {
          if (!this->fail())
          if (!this->fail())
            {
            {
              // _GLIBCXX_RESOLVE_LIB_DEFECTS
              // _GLIBCXX_RESOLVE_LIB_DEFECTS
              // 136.  seekp, seekg setting wrong streams?
              // 136.  seekp, seekg setting wrong streams?
              const pos_type __p = this->rdbuf()->pubseekpos(__pos,
              const pos_type __p = this->rdbuf()->pubseekpos(__pos,
                                                             ios_base::out);
                                                             ios_base::out);
              // 129. Need error indication from seekp() and seekg()
              // 129. Need error indication from seekp() and seekg()
              if (__p == pos_type(off_type(-1)))
              if (__p == pos_type(off_type(-1)))
                __err |= ios_base::failbit;
                __err |= ios_base::failbit;
            }
            }
        }
        }
      __catch(__cxxabiv1::__forced_unwind&)
      __catch(__cxxabiv1::__forced_unwind&)
        {
        {
          this->_M_setstate(ios_base::badbit);
          this->_M_setstate(ios_base::badbit);
          __throw_exception_again;
          __throw_exception_again;
        }
        }
      __catch(...)
      __catch(...)
        { this->_M_setstate(ios_base::badbit); }
        { this->_M_setstate(ios_base::badbit); }
      if (__err)
      if (__err)
        this->setstate(__err);
        this->setstate(__err);
      return *this;
      return *this;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>::
    basic_ostream<_CharT, _Traits>::
    seekp(off_type __off, ios_base::seekdir __dir)
    seekp(off_type __off, ios_base::seekdir __dir)
    {
    {
      ios_base::iostate __err = ios_base::goodbit;
      ios_base::iostate __err = ios_base::goodbit;
      __try
      __try
        {
        {
          if (!this->fail())
          if (!this->fail())
            {
            {
              // _GLIBCXX_RESOLVE_LIB_DEFECTS
              // _GLIBCXX_RESOLVE_LIB_DEFECTS
              // 136.  seekp, seekg setting wrong streams?
              // 136.  seekp, seekg setting wrong streams?
              const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir,
              const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir,
                                                             ios_base::out);
                                                             ios_base::out);
              // 129. Need error indication from seekp() and seekg()
              // 129. Need error indication from seekp() and seekg()
              if (__p == pos_type(off_type(-1)))
              if (__p == pos_type(off_type(-1)))
                __err |= ios_base::failbit;
                __err |= ios_base::failbit;
            }
            }
        }
        }
      __catch(__cxxabiv1::__forced_unwind&)
      __catch(__cxxabiv1::__forced_unwind&)
        {
        {
          this->_M_setstate(ios_base::badbit);
          this->_M_setstate(ios_base::badbit);
          __throw_exception_again;
          __throw_exception_again;
        }
        }
      __catch(...)
      __catch(...)
        { this->_M_setstate(ios_base::badbit); }
        { this->_M_setstate(ios_base::badbit); }
      if (__err)
      if (__err)
        this->setstate(__err);
        this->setstate(__err);
      return *this;
      return *this;
    }
    }
  template
  template
    basic_ostream<_CharT, _Traits>&
    basic_ostream<_CharT, _Traits>&
    operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
    operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
    {
    {
      if (!__s)
      if (!__s)
        __out.setstate(ios_base::badbit);
        __out.setstate(ios_base::badbit);
      else
      else
        {
        {
          // _GLIBCXX_RESOLVE_LIB_DEFECTS
          // _GLIBCXX_RESOLVE_LIB_DEFECTS
          // 167.  Improper use of traits_type::length()
          // 167.  Improper use of traits_type::length()
          const size_t __clen = char_traits::length(__s);
          const size_t __clen = char_traits::length(__s);
          __try
          __try
            {
            {
              struct __ptr_guard
              struct __ptr_guard
              {
              {
                _CharT *__p;
                _CharT *__p;
                __ptr_guard (_CharT *__ip): __p(__ip) { }
                __ptr_guard (_CharT *__ip): __p(__ip) { }
                ~__ptr_guard() { delete[] __p; }
                ~__ptr_guard() { delete[] __p; }
                _CharT* __get() { return __p; }
                _CharT* __get() { return __p; }
              } __pg (new _CharT[__clen]);
              } __pg (new _CharT[__clen]);
              _CharT *__ws = __pg.__get();
              _CharT *__ws = __pg.__get();
              for (size_t  __i = 0; __i < __clen; ++__i)
              for (size_t  __i = 0; __i < __clen; ++__i)
                __ws[__i] = __out.widen(__s[__i]);
                __ws[__i] = __out.widen(__s[__i]);
              __ostream_insert(__out, __ws, __clen);
              __ostream_insert(__out, __ws, __clen);
            }
            }
          __catch(__cxxabiv1::__forced_unwind&)
          __catch(__cxxabiv1::__forced_unwind&)
            {
            {
              __out._M_setstate(ios_base::badbit);
              __out._M_setstate(ios_base::badbit);
              __throw_exception_again;
              __throw_exception_again;
            }
            }
          __catch(...)
          __catch(...)
            { __out._M_setstate(ios_base::badbit); }
            { __out._M_setstate(ios_base::badbit); }
        }
        }
      return __out;
      return __out;
    }
    }
  // Inhibit implicit instantiations for required instantiations,
  // Inhibit implicit instantiations for required instantiations,
  // which are defined via explicit instantiations elsewhere.
  // which are defined via explicit instantiations elsewhere.
#if _GLIBCXX_EXTERN_TEMPLATE
#if _GLIBCXX_EXTERN_TEMPLATE
  extern template class basic_ostream;
  extern template class basic_ostream;
  extern template ostream& endl(ostream&);
  extern template ostream& endl(ostream&);
  extern template ostream& ends(ostream&);
  extern template ostream& ends(ostream&);
  extern template ostream& flush(ostream&);
  extern template ostream& flush(ostream&);
  extern template ostream& operator<<(ostream&, char);
  extern template ostream& operator<<(ostream&, char);
  extern template ostream& operator<<(ostream&, unsigned char);
  extern template ostream& operator<<(ostream&, unsigned char);
  extern template ostream& operator<<(ostream&, signed char);
  extern template ostream& operator<<(ostream&, signed char);
  extern template ostream& operator<<(ostream&, const char*);
  extern template ostream& operator<<(ostream&, const char*);
  extern template ostream& operator<<(ostream&, const unsigned char*);
  extern template ostream& operator<<(ostream&, const unsigned char*);
  extern template ostream& operator<<(ostream&, const signed char*);
  extern template ostream& operator<<(ostream&, const signed char*);
  extern template ostream& ostream::_M_insert(long);
  extern template ostream& ostream::_M_insert(long);
  extern template ostream& ostream::_M_insert(unsigned long);
  extern template ostream& ostream::_M_insert(unsigned long);
  extern template ostream& ostream::_M_insert(bool);
  extern template ostream& ostream::_M_insert(bool);
#ifdef _GLIBCXX_USE_LONG_LONG
#ifdef _GLIBCXX_USE_LONG_LONG
  extern template ostream& ostream::_M_insert(long long);
  extern template ostream& ostream::_M_insert(long long);
  extern template ostream& ostream::_M_insert(unsigned long long);
  extern template ostream& ostream::_M_insert(unsigned long long);
#endif
#endif
  extern template ostream& ostream::_M_insert(double);
  extern template ostream& ostream::_M_insert(double);
  extern template ostream& ostream::_M_insert(long double);
  extern template ostream& ostream::_M_insert(long double);
  extern template ostream& ostream::_M_insert(const void*);
  extern template ostream& ostream::_M_insert(const void*);
#ifdef _GLIBCXX_USE_WCHAR_T
#ifdef _GLIBCXX_USE_WCHAR_T
  extern template class basic_ostream;
  extern template class basic_ostream;
  extern template wostream& endl(wostream&);
  extern template wostream& endl(wostream&);
  extern template wostream& ends(wostream&);
  extern template wostream& ends(wostream&);
  extern template wostream& flush(wostream&);
  extern template wostream& flush(wostream&);
  extern template wostream& operator<<(wostream&, wchar_t);
  extern template wostream& operator<<(wostream&, wchar_t);
  extern template wostream& operator<<(wostream&, char);
  extern template wostream& operator<<(wostream&, char);
  extern template wostream& operator<<(wostream&, const wchar_t*);
  extern template wostream& operator<<(wostream&, const wchar_t*);
  extern template wostream& operator<<(wostream&, const char*);
  extern template wostream& operator<<(wostream&, const char*);
  extern template wostream& wostream::_M_insert(long);
  extern template wostream& wostream::_M_insert(long);
  extern template wostream& wostream::_M_insert(unsigned long);
  extern template wostream& wostream::_M_insert(unsigned long);
  extern template wostream& wostream::_M_insert(bool);
  extern template wostream& wostream::_M_insert(bool);
#ifdef _GLIBCXX_USE_LONG_LONG
#ifdef _GLIBCXX_USE_LONG_LONG
  extern template wostream& wostream::_M_insert(long long);
  extern template wostream& wostream::_M_insert(long long);
  extern template wostream& wostream::_M_insert(unsigned long long);
  extern template wostream& wostream::_M_insert(unsigned long long);
#endif
#endif
  extern template wostream& wostream::_M_insert(double);
  extern template wostream& wostream::_M_insert(double);
  extern template wostream& wostream::_M_insert(long double);
  extern template wostream& wostream::_M_insert(long double);
  extern template wostream& wostream::_M_insert(const void*);
  extern template wostream& wostream::_M_insert(const void*);
#endif
#endif
#endif
#endif
_GLIBCXX_END_NAMESPACE_VERSION
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
} // namespace std
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.