| // Explicit instantantiations for numeric facets -*- C++ -*- |
| |
| // Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| // |
| // 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 |
| // terms of the GNU General Public License as published by the |
| // Free Software Foundation; either version 3, or (at your option) |
| // any later version. |
| |
| // This library is distributed in the hope that it will be useful, |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| // GNU General Public License for more details. |
| |
| // Under Section 7 of GPL version 3, you are granted additional |
| // permissions described in the GCC Runtime Library Exception, version |
| // 3.1, as published by the Free Software Foundation. |
| |
| // 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; |
| // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
| // <http://www.gnu.org/licenses/>. |
| |
| #ifndef C |
| #define "This file should not be compiled directly, only included" |
| #endif |
| |
| namespace std _GLIBCXX_VISIBILITY(default) |
| { |
| #if ! _GLIBCXX_USE_CXX11_ABI |
| template const num_get<C>& use_facet<num_get<C> >(const locale&); |
| template const num_put<C>& use_facet<num_put<C> >(const locale&); |
| |
| template bool has_facet<num_get<C> >(const locale&); |
| template bool has_facet<num_put<C> >(const locale&); |
| #endif |
| |
| _GLIBCXX_BEGIN_NAMESPACE_LDBL |
| |
| #if ! _GLIBCXX_USE_CXX11_ABI |
| template class num_get<C, istreambuf_iterator<C> >; |
| template class num_put<C, ostreambuf_iterator<C> >; |
| #endif |
| |
| // num_get member function templates |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| long&) const; |
| |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| unsigned short&) const; |
| |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| unsigned int&) const; |
| |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| unsigned long&) const; |
| |
| #ifdef _GLIBCXX_USE_LONG_LONG |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| long long&) const; |
| |
| template |
| istreambuf_iterator<C> |
| num_get<C, istreambuf_iterator<C> >:: |
| _M_extract_int(istreambuf_iterator<C>, istreambuf_iterator<C>, |
| ios_base&, ios_base::iostate&, |
| unsigned long long&) const; |
| #endif |
| |
| #if ! _GLIBCXX_USE_CXX11_ABI |
| // num_put member function templates |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_int(ostreambuf_iterator<C>, ios_base&, C, |
| long) const; |
| |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_int(ostreambuf_iterator<C>, ios_base&, C, |
| unsigned long) const; |
| |
| #ifdef _GLIBCXX_USE_LONG_LONG |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_int(ostreambuf_iterator<C>, ios_base&, C, |
| long long) const; |
| |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_int(ostreambuf_iterator<C>, ios_base&, C, |
| unsigned long long) const; |
| #endif |
| |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_float(ostreambuf_iterator<C>, ios_base&, C, char, |
| double) const; |
| |
| template |
| ostreambuf_iterator<C> |
| num_put<C, ostreambuf_iterator<C> >:: |
| _M_insert_float(ostreambuf_iterator<C>, ios_base&, C, char, |
| long double) const; |
| #endif |
| |
| _GLIBCXX_END_NAMESPACE_LDBL |
| } // namespace std |