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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
exception_support.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
fpos.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
sstream.tcc configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. 2000-07-26 06:51:38 +00:00
std_algorithm.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_iomanip.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_ios.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_iosfwd.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_iostream.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_istream.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_iterator.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_list.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_ostream.h ostream_manip.cc (test02): Add tests. 2000-06-30 00:38:09 +00:00
std_queue.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_set.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_sstream.h std_fstream.h: Remove duplicate typdefs for ofstream and wofstream... 2000-08-14 19:46:44 +00:00
std_stack.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_stdexcept.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_streambuf.h std_fstream.h: Remove duplicate typdefs for ofstream and wofstream... 2000-08-14 19:46:44 +00:00
std_string.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_strstream.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
std_valarray.h valarray_array.h (__valarray_get_storage): New function. 2000-07-15 20:07:45 +00:00
std_vector.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
stl_pthread_alloc.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
stl_queue.h Update to SGI STL 3.3 2000-06-27 20:57:11 +00:00
stl_range_errors.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
stl_raw_storage_iter.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
stl_relops.h libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
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 libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
valarray_array.h valarray_array.h (__valarray_min, [...]): Fix thinko. 2000-08-19 11:28:22 +00:00
valarray_array.tcc libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
valarray_meta.h valarray_meta.h: Fix typos... 2000-08-18 16:29:18 +00:00