gcc/libstdc++-v3/bits
Benjamin Kosnik ae658d47a4 locale-inst.cc: Add codecvt<unicode_t...
2000-08-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
	__enc_traits> instantiations for has_facet and use_facet.
	* testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
	testing two-byte unicode encodings converted to four-byte UCS4
	encodings.

	* bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
	* testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
	correct state/encoding information.

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
	mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
	now.
	Add checks for langinfo.h, nl_langinfo function call.
	* libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.

From-SVN: r35897
2000-08-22 23:44:23 +00:00
..
basic_file.h [multiple changes] 2000-08-09 07:33:39 +00:00
basic_ios.h Internal consistency checks..... 2000-07-19 08:04:38 +00:00
basic_ios.tcc Internal consistency checks..... 2000-07-19 08:04:38 +00:00
basic_string.h basic_string.h: Fix up parameter names. 2000-08-22 17:29:57 +00:00
c++config Makefile.am (TAGS): Construct. 2000-05-25 05:11:42 +00:00
char_traits.h codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. 2000-08-22 08:18:10 +00:00
codecvt.h locale-inst.cc: Add codecvt<unicode_t... 2000-08-22 23:44:23 +00:00
concept_checks.h 2000-06-29 scott snyder <snyder@fnal.gov> 2000-06-30 00:49:12 +00:00
container_concepts.h Update to SGI STL 3.3 2000-06-27 23:08:37 +00:00
cpp_type_traits.h
exception_support.h
fpos.h
fstream.tcc [multiple changes] 2000-08-09 07:33:39 +00:00
generic_shadow.h generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix. 2000-06-01 01:01:34 +00:00
gslice_array.h [multiple changes] 2000-07-05 23:59:02 +00:00
gslice.h
indirect_array.h [multiple changes] 2000-07-05 23:59:02 +00:00
ios_base.h Internal consistency checks..... 2000-07-19 08:04:38 +00:00
istream.tcc configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
limits_generic.h std_cwctype.h: Clean. 2000-06-02 07:24:15 +00:00
locale_facets.h codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. 2000-08-22 08:18:10 +00:00
locale_facets.tcc codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. 2000-08-22 08:18:10 +00:00
localefwd.h codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. 2000-08-22 08:18:10 +00:00
mask_array.h [multiple changes] 2000-07-05 23:59:02 +00:00
ostream.tcc misc-inst.cc (std): Remove instantiations. 2000-07-26 20:55:48 +00:00
pthread_allocimpl.h
sbuf_iter.h configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
sequence_concepts.h Update to SGI STL 3.3 2000-06-27 23:08:37 +00:00
slice_array.h [multiple changes] 2000-07-05 23:59:02 +00:00
slice.h
sstream.tcc configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
std_algorithm.h
std_bitset.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
std_cassert.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cctype.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cerrno.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cfloat.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_climits.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_clocale.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cmath.h Fix thinko. 2000-08-21 11:29:16 +00:00
std_complex.h [multiple changes] 2000-07-04 01:20:04 +00:00
std_csetjmp.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_csignal.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cstdarg.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cstddef.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cstdio.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cstdlib.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cstring.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_ctime.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cwchar.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_cwctype.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_deque.h
std_exception.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_fstream.h localefwd.h (std::locale): Use explicit `class' specified when declaring friends. 2000-08-17 20:13:47 +00:00
std_functional.h
std_iomanip.h
std_ios.h
std_iosfwd.h
std_iostream.h
std_istream.h
std_iterator.h
std_list.h
std_locale.h codecvt.h: New file. 2000-08-16 04:12:51 +00:00
std_map.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
std_memory.h std_memory.h: Revert. 2000-07-04 01:21:24 +00:00
std_new.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_numeric.h
std_ostream.h ostream_manip.cc (test02): Add tests. 2000-06-30 00:38:09 +00:00
std_queue.h
std_set.h
std_sstream.h std_fstream.h: Remove duplicate typdefs for ofstream and wofstream... 2000-08-14 19:46:44 +00:00
std_stack.h
std_stdexcept.h
std_streambuf.h std_fstream.h: Remove duplicate typdefs for ofstream and wofstream... 2000-08-14 19:46:44 +00:00
std_string.h
std_strstream.h
std_typeinfo.h acinclude.m4: Change "#pragma system_header" to "#pragma GCC system_header". 2000-07-21 01:02:32 +00:00
std_utility.h
std_valarray.h valarray_array.h (__valarray_get_storage): New function. 2000-07-15 20:07:45 +00:00
std_vector.h
stl_algo.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_algobase.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_alloc.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_config.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_construct.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_deque.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_function.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_heap.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_iterator_base.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_iterator.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_list.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_map.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_multimap.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_multiset.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_numeric.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_pair.h
stl_pthread_alloc.h
stl_queue.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_range_errors.h
stl_raw_storage_iter.h
stl_relops.h
stl_set.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_stack.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_string_fwd.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_tempbuf.h
stl_threads.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_tree.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_uninitialized.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_vector.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
streambuf.tcc configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
string.tcc configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
type_traits.h
valarray_array.h valarray_array.h (__valarray_min, [...]): Fix thinko. 2000-08-19 11:28:22 +00:00
valarray_array.tcc
valarray_meta.h valarray_meta.h: Fix typos... 2000-08-18 16:29:18 +00:00