2000-04-21 22:33:34 +02:00
|
|
|
// Locale support -*- C++ -*-
|
|
|
|
|
2003-02-11 22:55:49 +01:00
|
|
|
// Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
2000-04-21 22:33:34 +02:00
|
|
|
//
|
|
|
|
// 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 2, 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.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License along
|
|
|
|
// with this library; see the file COPYING. If not, write to the Free
|
|
|
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
// USA.
|
|
|
|
|
|
|
|
// As a special exception, you may use this file as part of a free software
|
|
|
|
// library without restriction. Specifically, if other files instantiate
|
|
|
|
// templates or use macros or inline functions from this file, or you compile
|
|
|
|
// this file and link it with other files to produce an executable, this
|
|
|
|
// file does not by itself cause the resulting executable to be covered by
|
|
|
|
// the GNU General Public License. This exception does not however
|
|
|
|
// invalidate any other reasons why the executable file might be covered by
|
|
|
|
// the GNU General Public License.
|
|
|
|
|
|
|
|
//
|
|
|
|
// ISO C++ 14882: 22.1 Locales
|
|
|
|
//
|
|
|
|
|
Makefile.am (std_headers): Remove cXXX from list.
2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers): Remove cXXX from list.
(c_base_srcdir): No bits subdirectory.
(c_base_builddir): Same.
(c_base_headers): Adjust names, add ciso646.
(bits_headers): Remove std_xxx.h headers.
* include/Makefile.in: Regenerate.
* include/ext/iterator: Adjust includes.
* include/ext/ropeimpl.h: Same.
* include/ext/stl_hash_fun.h: Same.
* include/ext/algorithm: Same.
* include/backward/bvector.h: Adjust includes.
* include/backward/vector.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stack.h: Same.
* include/backward/set.h: Same.
* include/backward/queue.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* include/backward/deque.h: Same.
* include/backward/complex.h: Same.
* include/bits/std_algorithm.h: Move to...
* include/std/algorithm: ...here.
* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
std_deque.h, std_istream.h, std_numeric.h, std_string.h,
std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
Same.
* include/c_std/bits/std_cassert.h: Move to...
* include/c_std/cassert: Here.
* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c_std/cmath: Adjust cmath.tcc include.
* include/c_std/cstdlib: Adjust includes.
* include/c_std/cwchar: Same.
* include/c_std/ctime: Same.
* include/c_std/cstring: Same.
* include/c_std/cstdio: Same.
* include/c_std/bits: Remove directory.
* include/c/bits/std_cassert.h: Move to...
* include/c/cassert: Here.
* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c/bits: Remove directory.
* include/std/cwctype: Remove.
* include/std/cwchar: Remove.
* include/std/ctime: Remove.
* include/std/cstring: Remove.
* include/std/cstdlib: Remove.
* include/std/cstdio: Remove.
* include/std/cstddef: Remove.
* include/std/cstdarg: Remove.
* include/std/csignal: Remove.
* include/std/csetjmp: Remove.
* include/std/cmath: Remove.
* include/std/clocale: Remove.
* include/std/climits: Remove.
* include/std/ciso646: Remove.
* include/std/cfloat: Remove.
* include/std/cerrno: Remove.
* include/std/cctype: Remove.
* include/std/cassert: Remove.
* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
files and subsituting <.xxx>
* include/bits/valarray_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/pthread_allocimpl.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/localefwd.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/char_traits.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/basic_file.h: Same.
* include/std/bitset: Same.
* include/std/complex: Same.
* include/std/fstream: Same.
* include/std/functional: Same.
* include/std/ios: Same.
* include/std/iostream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/std/streambuf: Same.
* include/std/string: Same.
* include/std/iterator: Same.
* include/std/valarray: Same.
* src/ios.cc: Adjust includes.
* src/valarray-inst.cc: Same.
* src/string-inst.cc: Same.
* src/stl-inst.cc: Same.
* src/stdexcept.cc: Same.
* src/misc-inst.cc: Same.
* src/localename.cc: Same.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/limits.cc: Same.
* src/concept-inst.cc: Same.
* src/complex_io.cc: Same.
* src/codecvt.cc: Same.
* src/bitset.cc: Same.
* src/cmath.cc: Same.
From-SVN: r48544
2002-01-04 22:27:36 +01:00
|
|
|
#include <cstdlib>
|
|
|
|
#include <clocale>
|
|
|
|
#include <cstring>
|
|
|
|
#include <locale>
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-03-04 22:34:02 +01:00
|
|
|
namespace std
|
|
|
|
{
|
2000-04-21 22:33:34 +02:00
|
|
|
// moneypunct, money_get, and money_put
|
|
|
|
template class moneypunct<char, false>;
|
|
|
|
template class moneypunct<char, true>;
|
|
|
|
template class moneypunct_byname<char, false>;
|
|
|
|
template class moneypunct_byname<char, true>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class money_get<char, istreambuf_iterator<char> >;
|
|
|
|
template class money_put<char, ostreambuf_iterator<char> >;
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2000-04-21 22:33:34 +02:00
|
|
|
template class moneypunct<wchar_t, false>;
|
|
|
|
template class moneypunct<wchar_t, true>;
|
|
|
|
template class moneypunct_byname<wchar_t, false>;
|
|
|
|
template class moneypunct_byname<wchar_t, true>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class money_get<wchar_t, istreambuf_iterator<wchar_t> >;
|
|
|
|
template class money_put<wchar_t, ostreambuf_iterator<wchar_t> >;
|
2000-04-21 22:33:34 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// numpunct, numpunct_byname, num_get, and num_put
|
|
|
|
template class numpunct<char>;
|
2003-06-27 09:25:38 +02:00
|
|
|
template struct __numpunct_cache<char>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class numpunct_byname<char>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class num_get<char, istreambuf_iterator<char> >;
|
|
|
|
template class num_put<char, ostreambuf_iterator<char> >;
|
2001-11-28 05:07:11 +01:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<char>, ios_base&, char,
|
2002-03-08 07:05:21 +01:00
|
|
|
long) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<char>, ios_base&, char,
|
2001-11-28 05:07:11 +01:00
|
|
|
unsigned long) const;
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_LONG_LONG
|
2001-11-28 05:07:11 +01:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<char>, ios_base&, char,
|
2001-11-28 05:07:11 +01:00
|
|
|
long long) const;
|
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<char>, ios_base&, char,
|
2001-11-28 05:07:11 +01:00
|
|
|
unsigned long long) const;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
|
|
|
_M_convert_float(ostreambuf_iterator<char>, ios_base&, char, char,
|
|
|
|
double) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<char>
|
|
|
|
num_put<char, ostreambuf_iterator<char> >::
|
|
|
|
_M_convert_float(ostreambuf_iterator<char>, ios_base&, char, char,
|
2003-02-11 22:55:49 +01:00
|
|
|
long double) const;
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2000-04-21 22:33:34 +02:00
|
|
|
template class numpunct<wchar_t>;
|
2003-06-27 09:25:38 +02:00
|
|
|
template struct __numpunct_cache<wchar_t>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class numpunct_byname<wchar_t>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class num_get<wchar_t, istreambuf_iterator<wchar_t> >;
|
|
|
|
template class num_put<wchar_t, ostreambuf_iterator<wchar_t> >;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t,
|
|
|
|
long) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t,
|
|
|
|
unsigned long) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_LONG_LONG
|
2001-11-28 05:07:11 +01:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t,
|
|
|
|
long long) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
2003-02-11 22:55:49 +01:00
|
|
|
_M_convert_int(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t,
|
|
|
|
unsigned long long) const;
|
2001-11-28 05:07:11 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
|
|
|
_M_convert_float(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t, char,
|
2001-11-28 05:07:11 +01:00
|
|
|
double) const;
|
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
ostreambuf_iterator<wchar_t>
|
|
|
|
num_put<wchar_t, ostreambuf_iterator<wchar_t> >::
|
|
|
|
_M_convert_float(ostreambuf_iterator<wchar_t>, ios_base&, wchar_t, char,
|
2001-11-28 05:07:11 +01:00
|
|
|
long double) const;
|
2000-04-21 22:33:34 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// time_get and time_put
|
2001-09-20 10:30:01 +02:00
|
|
|
template class __timepunct<char>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class time_put<char, ostreambuf_iterator<char> >;
|
|
|
|
template class time_put_byname<char, ostreambuf_iterator<char> >;
|
|
|
|
template class time_get<char, istreambuf_iterator<char> >;
|
|
|
|
template class time_get_byname<char, istreambuf_iterator<char> >;
|
2000-09-19 08:47:52 +02:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2001-09-20 10:30:01 +02:00
|
|
|
template class __timepunct<wchar_t>;
|
2002-03-08 07:05:21 +01:00
|
|
|
template class time_put<wchar_t, ostreambuf_iterator<wchar_t> >;
|
|
|
|
template class time_put_byname<wchar_t, ostreambuf_iterator<wchar_t> >;
|
|
|
|
template class time_get<wchar_t, istreambuf_iterator<wchar_t> >;
|
|
|
|
template class time_get_byname<wchar_t, istreambuf_iterator<wchar_t> >;
|
2000-04-21 22:33:34 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// messages
|
|
|
|
template class messages<char>;
|
|
|
|
template class messages_byname<char>;
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2000-04-21 22:33:34 +02:00
|
|
|
template class messages<wchar_t>;
|
|
|
|
template class messages_byname<wchar_t>;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// ctype
|
Tune for size.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
2002-02-16 01:19:13 +01:00
|
|
|
inline template class __ctype_abstract_base<char>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class ctype_byname<char>;
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
Tune for size.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
2002-02-16 01:19:13 +01:00
|
|
|
inline template class __ctype_abstract_base<wchar_t>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class ctype_byname<wchar_t>;
|
|
|
|
#endif
|
|
|
|
|
2000-08-16 06:12:51 +02:00
|
|
|
// codecvt
|
Tune for size.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
2002-02-16 01:19:13 +01:00
|
|
|
inline template class __codecvt_abstract_base<char, char, mbstate_t>;
|
2000-12-07 07:44:49 +01:00
|
|
|
template class codecvt_byname<char, char, mbstate_t>;
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2002-06-08 00:06:38 +02:00
|
|
|
inline template class __codecvt_abstract_base<wchar_t, char, mbstate_t>;
|
2000-12-07 07:44:49 +01:00
|
|
|
template class codecvt_byname<wchar_t, char, mbstate_t>;
|
|
|
|
#endif
|
2000-08-16 06:12:51 +02:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
// collate
|
Preliminary named locales.
2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
Preliminary named locales.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
* aclocal.m4: Regenerate.
* configure.in: Use it.
* configure: Regerate.
* src/Makefile.am (sources): Add c++locale.cc.
(build_headers): Add c++locale.h.
* src/Makefile.in: Regenerate.
* config/c_locale_gnu.h: New file.
* config/c_locale_gnu.cc: New file. Non-inline member functions
for named locales, gnu-specific.
* config/c_locale_generic.h: New file.
* config/c_locale_generic.cc: New file. Non-inline member
functions for named locales, generic version.
* docs/html/configopts.html: Add documentation on new options.
* include/bits/locale_facets.h (class _Messages): Remove.
(class _Moneypunct): Remove.
* src/locale-inst.cc: Remove.
* include/bits/locale_facets.h (class _Collate): Remove.
* src/locale-inst.cc (std): Remove.
* src/locale.cc: And here.
* include/bits/localefwd.h (locale::_M_coalesce): New
function. Correctly put together multi-name locales.
(_Impl(const _Impl&, category, size_t)): Remove.
* include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
member functions.
(_M_normalize_category_names): Remove.
(_M_replace_categories): Fix.
* src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
(locale::_Impl::_M_construct_ctype): Remove.
(locale::_Impl::_M_construct_monetary): Remove.
(locale::_Impl::_M_construct_numeric): Remove.
(locale::_Impl::_M_construct_time): Remove.
(locale::_Impl::_M_construct_messages): Remove.
* include/bits/locale_facets.h (_Bad_use_facet): Remove.
(_Use_facet_failure_handle): Remove.
* src/locale.cc: Remove definitions.
* src/locale-inst.cc: And here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
* src/localename.cc (locale::facet::_S_create_c_locale): Properly
create and error-check underlying locale object.
(locale::facet::_S_destroy_c_locale): Add, take care of properly
tearing down underlying locale object.
* include/bits/localefwd.h (locale::facet): Declare.
* testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
correctness, as glibc apparently has incorrect info in it. Test
with it when it works again.....
* include/bits/localefwd.h (locale::_Impl::__vec_string):
Remove. Number of categories is fixed at six, so just simplify and
make this an array of strings.
(locale::_Impl::_M_has_name): Remove.
(locale::_Impl::_M_name): Remove.
(locale::_Impl::_M_category_names): Turns into...
(locale::_Impl::_M_names): ...this.
(locale::_Impl::_M_has_same_name()): New function.
* src/localename.cc (locale::_Impl::~_Impl()): Remove here.
(locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
signature.
* src/locale.cc (locale::name()): Construct mangled name
accurately reflecting combined locale categories.
* src/locale.cc (locale::classic()): Don't initialize here.
* src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
__refs, bool __has_name, string __str): Do it here.
* include/bits/localefwd.h: _S_categories_num to
_S_num_categories. _S_facets_num to _S_num_facets.
(locale::id::id()): Explicitly set _M_index to zero.
* src/locale.cc: Same.
* src/locale.cc: (locale::locale(const char*)): Construct named
locales uniquely.
* src/locale.cc: Remove numpunct_byname ctors.
* testsuite/22_locale/numpunct_byname.cc: New file.
* testsuite/22_locale/numpunct.cc: New file.
* include/bits/localefwd.h (class locale): Change data members to
protected, from private.
(_Impl::_M_get_c_locale): Add member function.
(locale::facet::_M_get_global_impl()): Add member function.
* include/bits/locale_facets.h (numpunct::_M_init): Change to take
a __c_locale pointer.
(numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
named locales.
* testsuite/22_locale/members.cc: New file, test name and combine.
* include/bits/locale_facets.h (class numpunct): Remove class
_Punct and _Numpunct. Rewrite class numpunct to be correct for
named locales.
* include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
* src/localename.cc (_Impl::~_Impl()): Call __frelocale.
(_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
* src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
* testsuite/22_locale/numpunct_char_members.cc: New file.
From-SVN: r39347
2001-01-30 10:18:51 +01:00
|
|
|
template class collate<char>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class collate_byname<char>;
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
Preliminary named locales.
2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
Preliminary named locales.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
* aclocal.m4: Regenerate.
* configure.in: Use it.
* configure: Regerate.
* src/Makefile.am (sources): Add c++locale.cc.
(build_headers): Add c++locale.h.
* src/Makefile.in: Regenerate.
* config/c_locale_gnu.h: New file.
* config/c_locale_gnu.cc: New file. Non-inline member functions
for named locales, gnu-specific.
* config/c_locale_generic.h: New file.
* config/c_locale_generic.cc: New file. Non-inline member
functions for named locales, generic version.
* docs/html/configopts.html: Add documentation on new options.
* include/bits/locale_facets.h (class _Messages): Remove.
(class _Moneypunct): Remove.
* src/locale-inst.cc: Remove.
* include/bits/locale_facets.h (class _Collate): Remove.
* src/locale-inst.cc (std): Remove.
* src/locale.cc: And here.
* include/bits/localefwd.h (locale::_M_coalesce): New
function. Correctly put together multi-name locales.
(_Impl(const _Impl&, category, size_t)): Remove.
* include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
member functions.
(_M_normalize_category_names): Remove.
(_M_replace_categories): Fix.
* src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
(locale::_Impl::_M_construct_ctype): Remove.
(locale::_Impl::_M_construct_monetary): Remove.
(locale::_Impl::_M_construct_numeric): Remove.
(locale::_Impl::_M_construct_time): Remove.
(locale::_Impl::_M_construct_messages): Remove.
* include/bits/locale_facets.h (_Bad_use_facet): Remove.
(_Use_facet_failure_handle): Remove.
* src/locale.cc: Remove definitions.
* src/locale-inst.cc: And here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
* src/localename.cc (locale::facet::_S_create_c_locale): Properly
create and error-check underlying locale object.
(locale::facet::_S_destroy_c_locale): Add, take care of properly
tearing down underlying locale object.
* include/bits/localefwd.h (locale::facet): Declare.
* testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
correctness, as glibc apparently has incorrect info in it. Test
with it when it works again.....
* include/bits/localefwd.h (locale::_Impl::__vec_string):
Remove. Number of categories is fixed at six, so just simplify and
make this an array of strings.
(locale::_Impl::_M_has_name): Remove.
(locale::_Impl::_M_name): Remove.
(locale::_Impl::_M_category_names): Turns into...
(locale::_Impl::_M_names): ...this.
(locale::_Impl::_M_has_same_name()): New function.
* src/localename.cc (locale::_Impl::~_Impl()): Remove here.
(locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
signature.
* src/locale.cc (locale::name()): Construct mangled name
accurately reflecting combined locale categories.
* src/locale.cc (locale::classic()): Don't initialize here.
* src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
__refs, bool __has_name, string __str): Do it here.
* include/bits/localefwd.h: _S_categories_num to
_S_num_categories. _S_facets_num to _S_num_facets.
(locale::id::id()): Explicitly set _M_index to zero.
* src/locale.cc: Same.
* src/locale.cc: (locale::locale(const char*)): Construct named
locales uniquely.
* src/locale.cc: Remove numpunct_byname ctors.
* testsuite/22_locale/numpunct_byname.cc: New file.
* testsuite/22_locale/numpunct.cc: New file.
* include/bits/localefwd.h (class locale): Change data members to
protected, from private.
(_Impl::_M_get_c_locale): Add member function.
(locale::facet::_M_get_global_impl()): Add member function.
* include/bits/locale_facets.h (numpunct::_M_init): Change to take
a __c_locale pointer.
(numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
named locales.
* testsuite/22_locale/members.cc: New file, test name and combine.
* include/bits/locale_facets.h (class numpunct): Remove class
_Punct and _Numpunct. Rewrite class numpunct to be correct for
named locales.
* include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
* src/localename.cc (_Impl::~_Impl()): Call __frelocale.
(_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
* src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
* testsuite/22_locale/numpunct_char_members.cc: New file.
From-SVN: r39347
2001-01-30 10:18:51 +01:00
|
|
|
template class collate<wchar_t>;
|
2000-04-21 22:33:34 +02:00
|
|
|
template class collate_byname<wchar_t>;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// use_facet
|
2002-03-08 07:05:21 +01:00
|
|
|
// NB: use_facet<ctype> is specialized
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
const codecvt<char, char, mbstate_t>&
|
2000-08-22 10:18:10 +02:00
|
|
|
use_facet<codecvt<char, char, mbstate_t> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2001-02-07 02:54:21 +01:00
|
|
|
template
|
|
|
|
const collate<char>&
|
|
|
|
use_facet<collate<char> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
const numpunct<char>&
|
|
|
|
use_facet<numpunct<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const num_put<char>&
|
|
|
|
use_facet<num_put<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const num_get<char>&
|
|
|
|
use_facet<num_get<char> >(const locale&);
|
|
|
|
|
2001-09-10 03:00:27 +02:00
|
|
|
template
|
|
|
|
const moneypunct<char, true>&
|
|
|
|
use_facet<moneypunct<char, true> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2001-09-10 03:00:27 +02:00
|
|
|
template
|
|
|
|
const moneypunct<char, false>&
|
|
|
|
use_facet<moneypunct<char, false> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
const money_put<char>&
|
|
|
|
use_facet<money_put<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const money_get<char>&
|
|
|
|
use_facet<money_get<char> >(const locale&);
|
|
|
|
|
2001-09-20 10:30:01 +02:00
|
|
|
template
|
|
|
|
const __timepunct<char>&
|
|
|
|
use_facet<__timepunct<char> >(const locale&);
|
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
const time_put<char>&
|
|
|
|
use_facet<time_put<char> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
const time_get<char>&
|
|
|
|
use_facet<time_get<char> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
const messages<char>&
|
|
|
|
use_facet<messages<char> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
const codecvt<wchar_t, char, mbstate_t>&
|
2001-02-07 02:54:21 +01:00
|
|
|
use_facet<codecvt<wchar_t, char, mbstate_t> >(locale const&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2001-02-07 02:54:21 +01:00
|
|
|
template
|
|
|
|
const collate<wchar_t>&
|
|
|
|
use_facet<collate<wchar_t> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
const numpunct<wchar_t>&
|
|
|
|
use_facet<numpunct<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const num_put<wchar_t>&
|
|
|
|
use_facet<num_put<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const num_get<wchar_t>&
|
|
|
|
use_facet<num_get<wchar_t> >(const locale&);
|
|
|
|
|
2001-09-10 03:00:27 +02:00
|
|
|
template
|
|
|
|
const moneypunct<wchar_t, true>&
|
|
|
|
use_facet<moneypunct<wchar_t, true> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
2001-09-10 03:00:27 +02:00
|
|
|
template
|
|
|
|
const moneypunct<wchar_t, false>&
|
|
|
|
use_facet<moneypunct<wchar_t, false> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
const money_put<wchar_t>&
|
|
|
|
use_facet<money_put<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const money_get<wchar_t>&
|
|
|
|
use_facet<money_get<wchar_t> >(const locale&);
|
2001-09-20 10:30:01 +02:00
|
|
|
|
|
|
|
template
|
|
|
|
const __timepunct<wchar_t>&
|
|
|
|
use_facet<__timepunct<wchar_t> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
const time_put<wchar_t>&
|
|
|
|
use_facet<time_put<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const time_get<wchar_t>&
|
|
|
|
use_facet<time_get<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
const messages<wchar_t>&
|
|
|
|
use_facet<messages<wchar_t> >(const locale&);
|
2000-04-21 22:33:34 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// has_facet
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<ctype<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<codecvt<char, char, mbstate_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<collate<char> >(const locale&);
|
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
bool
|
2001-05-31 14:14:56 +02:00
|
|
|
has_facet<numpunct<char> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<num_put<char> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<num_get<char> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
2002-03-08 07:05:21 +01:00
|
|
|
has_facet<moneypunct<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<money_put<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<money_get<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<__timepunct<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<time_put<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<time_get<char> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<messages<char> >(const locale&);
|
2001-05-31 14:14:56 +02:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<ctype<wchar_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<codecvt<wchar_t, char, mbstate_t> >(const locale&);
|
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<collate<wchar_t> >(const locale&);
|
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
bool
|
2001-05-31 14:14:56 +02:00
|
|
|
has_facet<numpunct<wchar_t> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<num_put<wchar_t> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<num_get<wchar_t> >(const locale&);
|
2002-03-08 07:05:21 +01:00
|
|
|
|
2001-05-31 14:14:56 +02:00
|
|
|
template
|
|
|
|
bool
|
2002-03-08 07:05:21 +01:00
|
|
|
has_facet<moneypunct<wchar_t> >(const locale&);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
bool
|
|
|
|
has_facet<money_put<wchar_t> >(const locale&);
|
|
|
|
|
2000-11-08 21:00:36 +01:00
|
|
|
template
|
2002-03-08 07:05:21 +01:00
|
|
|
bool
|
|
|
|
has_facet<money_get<wchar_t> >(const locale&);
|
2000-11-08 21:00:36 +01:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<__timepunct<wchar_t> >(const locale&);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<time_put<wchar_t> >(const locale&);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-03-08 07:05:21 +01:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
has_facet<time_get<wchar_t> >(const locale&);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
template
|
|
|
|
bool
|
2002-03-08 07:05:21 +01:00
|
|
|
has_facet<messages<wchar_t> >(const locale&);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// locale
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
char*
|
2001-11-28 05:07:11 +01:00
|
|
|
__add_grouping<char>(char*, char, char const*, char const*,
|
2001-02-07 02:54:21 +01:00
|
|
|
char const*, char const*);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-09-14 01:21:25 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
__verify_grouping<char>(const basic_string<char>&, basic_string<char>&);
|
|
|
|
|
2002-07-31 04:47:36 +02:00
|
|
|
template class __pad<char, char_traits<char> >;
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2000-04-21 22:33:34 +02:00
|
|
|
template
|
|
|
|
wchar_t*
|
2001-11-28 05:07:11 +01:00
|
|
|
__add_grouping<wchar_t>(wchar_t*, wchar_t, char const*, char const*,
|
2001-02-07 02:54:21 +01:00
|
|
|
wchar_t const*, wchar_t const*);
|
2001-09-14 01:21:25 +02:00
|
|
|
template
|
|
|
|
bool
|
|
|
|
__verify_grouping<wchar_t>(const basic_string<wchar_t>&,
|
|
|
|
basic_string<wchar_t>&);
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-07-31 04:47:36 +02:00
|
|
|
template class __pad<wchar_t, char_traits<wchar_t> >;
|
|
|
|
#endif
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-01-23 00:09:04 +01:00
|
|
|
template
|
|
|
|
int
|
2002-07-31 04:47:36 +02:00
|
|
|
__convert_from_v(char*, const int, const char*, double,
|
|
|
|
const __c_locale&, int);
|
2002-01-23 00:09:04 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
int
|
2002-07-31 04:47:36 +02:00
|
|
|
__convert_from_v(char*, const int, const char*, long double,
|
|
|
|
const __c_locale&, int);
|
2002-01-23 00:09:04 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
int
|
2002-07-31 04:47:36 +02:00
|
|
|
__convert_from_v(char*, const int, const char*, long,
|
|
|
|
const __c_locale&, int);
|
2002-01-23 00:09:04 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
int
|
2002-03-19 23:33:06 +01:00
|
|
|
__convert_from_v(char*, const int, const char*, unsigned long,
|
2002-01-23 00:09:04 +01:00
|
|
|
const __c_locale&, int);
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_LONG_LONG
|
2002-01-23 00:09:04 +01:00
|
|
|
template
|
|
|
|
int
|
2002-07-31 04:47:36 +02:00
|
|
|
__convert_from_v(char*, const int, const char*, long long,
|
|
|
|
const __c_locale&, int);
|
2002-01-23 00:09:04 +01:00
|
|
|
|
|
|
|
template
|
|
|
|
int
|
2002-03-19 23:33:06 +01:00
|
|
|
__convert_from_v(char*, const int, const char*, unsigned long long,
|
2002-01-23 00:09:04 +01:00
|
|
|
const __c_locale&, int);
|
2003-02-11 22:55:49 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
template
|
|
|
|
int
|
|
|
|
__int_to_char(char*, const int, unsigned long, const char*,
|
|
|
|
ios_base::fmtflags, bool);
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2003-02-11 22:55:49 +01:00
|
|
|
template
|
|
|
|
int
|
|
|
|
__int_to_char(wchar_t*, const int, unsigned long, const wchar_t*,
|
|
|
|
ios_base::fmtflags, bool);
|
|
|
|
#endif
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_LONG_LONG
|
2003-02-11 22:55:49 +01:00
|
|
|
template
|
|
|
|
int
|
|
|
|
__int_to_char(char*, const int, unsigned long long, const char*,
|
|
|
|
ios_base::fmtflags, bool);
|
|
|
|
|
2003-07-05 06:05:45 +02:00
|
|
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
2003-02-11 22:55:49 +01:00
|
|
|
template
|
|
|
|
int
|
|
|
|
__int_to_char(wchar_t*, const int, unsigned long long, const wchar_t*,
|
|
|
|
ios_base::fmtflags, bool);
|
|
|
|
#endif
|
|
|
|
#endif
|
2001-03-04 22:34:02 +01:00
|
|
|
} // namespace std
|