Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. // Explicit instantiation file.
  2.  
  3. // Copyright (C) 1997-2013 Free Software Foundation, Inc.
  4. //
  5. // This file is part of the GNU ISO C++ Library.  This library is free
  6. // software; you can redistribute it and/or modify it under the
  7. // terms of the GNU General Public License as published by the
  8. // Free Software Foundation; either version 3, or (at your option)
  9. // any later version.
  10.  
  11. // This library is distributed in the hope that it will be useful,
  12. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. // GNU General Public License for more details.
  15.  
  16. // Under Section 7 of GPL version 3, you are granted additional
  17. // permissions described in the GCC Runtime Library Exception, version
  18. // 3.1, as published by the Free Software Foundation.
  19.  
  20. // You should have received a copy of the GNU General Public License and
  21. // a copy of the GCC Runtime Library Exception along with this program;
  22. // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  23. // <http://www.gnu.org/licenses/>.
  24.  
  25. //
  26. // ISO C++ 14882:
  27. //
  28.  
  29. #include <istream>
  30. #include <iomanip>
  31.  
  32. namespace std _GLIBCXX_VISIBILITY(default)
  33. {
  34. _GLIBCXX_BEGIN_NAMESPACE_VERSION
  35.  
  36.   template class basic_istream<char>;
  37.   template istream& ws(istream&);
  38.   template istream& operator>>(istream&, char&);
  39.   template istream& operator>>(istream&, unsigned char&);
  40.   template istream& operator>>(istream&, signed char&);
  41.   template istream& operator>>(istream&, char*);
  42.   template istream& operator>>(istream&, unsigned char*);
  43.   template istream& operator>>(istream&, signed char*);
  44.  
  45.   template istream& operator>>(istream&, _Setfill<char>);
  46.   template istream& operator>>(istream&, _Setiosflags);
  47.   template istream& operator>>(istream&, _Resetiosflags);
  48.   template istream& operator>>(istream&, _Setbase);
  49.   template istream& operator>>(istream&, _Setprecision);
  50.   template istream& operator>>(istream&, _Setw);
  51.  
  52.   template istream& istream::_M_extract(unsigned short&);
  53.   template istream& istream::_M_extract(unsigned int&);  
  54.   template istream& istream::_M_extract(long&);
  55.   template istream& istream::_M_extract(unsigned long&);
  56.   template istream& istream::_M_extract(bool&);
  57. #ifdef _GLIBCXX_USE_LONG_LONG
  58.   template istream& istream::_M_extract(long long&);
  59.   template istream& istream::_M_extract(unsigned long long&);
  60. #endif
  61.   template istream& istream::_M_extract(float&);
  62.   template istream& istream::_M_extract(double&);
  63.   template istream& istream::_M_extract(long double&);
  64.   template istream& istream::_M_extract(void*&);
  65.  
  66. #ifdef _GLIBCXX_USE_WCHAR_T
  67.   template class basic_istream<wchar_t>;
  68.   template wistream& ws(wistream&);
  69.   template wistream& operator>>(wistream&, wchar_t&);
  70.   template wistream& operator>>(wistream&, wchar_t*);
  71.  
  72.   template wistream& operator>>(wistream&, _Setfill<wchar_t>);
  73.   template wistream& operator>>(wistream&, _Setiosflags);
  74.   template wistream& operator>>(wistream&, _Resetiosflags);
  75.   template wistream& operator>>(wistream&, _Setbase);
  76.   template wistream& operator>>(wistream&, _Setprecision);
  77.   template wistream& operator>>(wistream&, _Setw);
  78.  
  79.   template wistream& wistream::_M_extract(unsigned short&);
  80.   template wistream& wistream::_M_extract(unsigned int&);  
  81.   template wistream& wistream::_M_extract(long&);
  82.   template wistream& wistream::_M_extract(unsigned long&);
  83.   template wistream& wistream::_M_extract(bool&);
  84. #ifdef _GLIBCXX_USE_LONG_LONG
  85.   template wistream& wistream::_M_extract(long long&);
  86.   template wistream& wistream::_M_extract(unsigned long long&);
  87. #endif
  88.   template wistream& wistream::_M_extract(float&);
  89.   template wistream& wistream::_M_extract(double&);
  90.   template wistream& wistream::_M_extract(long double&);
  91.   template wistream& wistream::_M_extract(void*&);
  92. #endif
  93.  
  94. _GLIBCXX_END_NAMESPACE_VERSION
  95. } // namespace
  96.  
  97. // XXX GLIBCXX_ABI Deprecated
  98. #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
  99.  
  100. #define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \
  101.   extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak))
  102. _GLIBCXX_LDBL_COMPAT (_ZNSirsERd, _ZNSirsERe);
  103. #ifdef _GLIBCXX_USE_WCHAR_T
  104. _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEErsERd,
  105.                       _ZNSt13basic_istreamIwSt11char_traitsIwEErsERe);
  106. #endif
  107. _GLIBCXX_LDBL_COMPAT (_ZNSi10_M_extractIdEERSiRT_,
  108.                       _ZNSi10_M_extractIeEERSiRT_);
  109. #ifdef _GLIBCXX_USE_WCHAR_T
  110. _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIdEERS2_RT_,
  111.                       _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIeEERS2_RT_);
  112. #endif
  113.  
  114. #endif // _GLIBCXX_LONG_DOUBLE_COMPAT
  115.