xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/string-io-inst.cc (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg // SSO string instantiations for I/O -*- C++ -*-
21debfc3dSmrg 
3*8feb0f0bSmrg // Copyright (C) 1997-2020 Free Software Foundation, Inc.
41debfc3dSmrg //
51debfc3dSmrg // This file is part of the GNU ISO C++ Library.  This library is free
61debfc3dSmrg // software; you can redistribute it and/or modify it under the
71debfc3dSmrg // terms of the GNU General Public License as published by the
81debfc3dSmrg // Free Software Foundation; either version 3, or (at your option)
91debfc3dSmrg // any later version.
101debfc3dSmrg 
111debfc3dSmrg // This library is distributed in the hope that it will be useful,
121debfc3dSmrg // but WITHOUT ANY WARRANTY; without even the implied warranty of
131debfc3dSmrg // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
141debfc3dSmrg // GNU General Public License for more details.
151debfc3dSmrg 
161debfc3dSmrg // Under Section 7 of GPL version 3, you are granted additional
171debfc3dSmrg // permissions described in the GCC Runtime Library Exception, version
181debfc3dSmrg // 3.1, as published by the Free Software Foundation.
191debfc3dSmrg 
201debfc3dSmrg // You should have received a copy of the GNU General Public License and
211debfc3dSmrg // a copy of the GCC Runtime Library Exception along with this program;
221debfc3dSmrg // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
231debfc3dSmrg // <http://www.gnu.org/licenses/>.
241debfc3dSmrg 
251debfc3dSmrg //
261debfc3dSmrg // ISO C++ 14882:
271debfc3dSmrg //
281debfc3dSmrg 
291debfc3dSmrg #define _GLIBCXX_USE_CXX11_ABI 1
301debfc3dSmrg #include <string>
311debfc3dSmrg #include <istream>
321debfc3dSmrg #include <ostream>
331debfc3dSmrg 
341debfc3dSmrg namespace std _GLIBCXX_VISIBILITY(default)
351debfc3dSmrg {
361debfc3dSmrg _GLIBCXX_BEGIN_NAMESPACE_VERSION
371debfc3dSmrg 
381debfc3dSmrg   // string related to iostreams
391debfc3dSmrg   template
401debfc3dSmrg     basic_istream<char>&
411debfc3dSmrg     operator>>(basic_istream<char>&, string&);
421debfc3dSmrg   template
431debfc3dSmrg     basic_ostream<char>&
441debfc3dSmrg     operator<<(basic_ostream<char>&, const string&);
451debfc3dSmrg   template
461debfc3dSmrg     basic_istream<char>&
471debfc3dSmrg     getline(basic_istream<char>&, string&, char);
481debfc3dSmrg   template
491debfc3dSmrg     basic_istream<char>&
501debfc3dSmrg     getline(basic_istream<char>&, string&);
511debfc3dSmrg 
521debfc3dSmrg _GLIBCXX_END_NAMESPACE_VERSION
531debfc3dSmrg } // namespace
54