gcc/libstdc++-v3/include/bits
Benjamin Kosnik ea0c0b6e1b Implement std::collate.
2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>

	Implement std::collate.
	* config/locale/collate_specializations_gnu.cc: Add here, implement in
	MT-safe way.
	* config/locale/collate_specializations_generic.cc: Add here, but
	in a less sophisticated manner.
	* include/bits/locale_facets.tcc (collate): Add generic definition.
	* include/bits/locale_facets.h (~collate): Mark virtual.
	(collate::_M_compare_helper): New.
	(collate::_M_transform_helper): New.
	* src/locale.cc: Remove unnecessary specializations.
	* src/string-inst.cc: Tweak instantiation of ctors.

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (sources): Add collate.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/22_locale/collate_byname.cc: New.
	* testsuite/22_locale/collate.cc: New file.
	* testsuite/22_locale/collate_char_members.cc: New file.
	* testsuite/22_locale/collate_wchar_t_members.cc: New file.

From-SVN: r44996
2001-08-18 02:53:13 +00:00
..
basic_file.h porting.texi: Add documentation about libstdc++-v3-specific macros that are currently... 2001-06-12 23:09:09 +00:00
basic_ios.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
basic_ios.tcc basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
basic_string.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
basic_string.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
boost_concept_check.h boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member. 2001-04-14 09:46:13 +00:00
c++config Daily bump. 2001-08-17 07:18:02 +00:00
char_traits.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
codecvt.h Implement std::messages. 2001-08-08 02:49:01 +00:00
concept_check.h map_operators.cc: Add dg-excess-errors. 2001-04-18 01:06:05 +00:00
cpp_type_traits.h
fpos.h fpos.h (fpos::operator-): Don't return reference, return original, non-modified version. 2001-06-13 01:14:42 +00:00
fstream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
functexcept.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
generic_shadow.h include: New directory. 2000-10-05 11:27:02 +00:00
gslice_array.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
gslice.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
indirect_array.h indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public. 2001-06-21 12:01:09 +00:00
ios_base.h basic_ios.tcc: Formatting tweaks. 2001-06-06 01:31:58 +00:00
istream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
limits_generic.h limits_generic.h (int): Set digits and digits10 appropriately for word size. 2001-07-23 12:41:03 -04:00
locale_facets.h Implement std::collate. 2001-08-18 02:53:13 +00:00
locale_facets.tcc Implement std::collate. 2001-08-18 02:53:13 +00:00
localefwd.h Implement std::messages. 2001-08-08 02:49:01 +00:00
mask_array.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
ostream.tcc ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope. 2001-08-13 12:59:38 +00:00
pthread_allocimpl.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
slice_array.h slice_array_assignment.cc (main): New test. 2001-06-13 22:16:24 +00:00
slice.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
sstream.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
std_algorithm.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_bitset.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_complex.h 2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de 2001-08-10 15:51:00 +00:00
std_deque.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_fstream.h threads-no.h: Remove file. 2001-06-08 03:53:35 +00:00
std_functional.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_iomanip.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_ios.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_iosfwd.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
std_iostream.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_istream.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
std_iterator.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_limits.h std_limits.h [...]: Define appropriate long double limits for m68k extended floating point. 2001-08-15 15:57:41 +00:00
std_list.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_locale.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_map.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_memory.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_numeric.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_ostream.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_queue.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_set.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_sstream.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
std_stack.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_stdexcept.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
std_streambuf.h acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. 2001-05-31 12:14:56 +00:00
std_string.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
std_utility.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
std_valarray.h std_valarray.h (valarray<>::operator[] const): Return a const reference. 2001-05-18 05:47:46 +00:00
std_vector.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_algo.h stl_algo.h: Fix typos. 2001-07-20 01:17:13 +00:00
stl_algobase.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_alloc.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_bvector.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_construct.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_deque.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_function.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_heap.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator_base_funcs.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator_base_types.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_iterator.h backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
stl_list.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_map.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_multimap.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_multiset.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_numeric.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_pair.h run_doxygen: Don't keep output from previous run. 2001-07-11 19:35:49 +00:00
stl_pthread_alloc.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_queue.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_raw_storage_iter.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_relops.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_set.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_stack.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_tempbuf.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_threads.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
stl_tree.h stl_construct.h (construct): Remove. 2001-07-02 19:47:09 +00:00
stl_uninitialized.h All occurrences of the __value_type() and __distance_type() functions... 2001-07-18 17:09:02 +00:00
stl_vector.h stl_vector.h (vector::_M_initialize_aux): Fix typo. 2001-07-06 12:28:48 +00:00
stream_iterator.h stream_iterator.h (istream_iterator): Add copy ctor. 2001-06-26 23:12:45 +00:00
streambuf_iterator.h sbuf_iter.h: Change to.. 2001-06-26 21:22:57 +00:00
streambuf.tcc backport: basic_string.h: Qualify symbols with 'template'. 2001-07-20 00:09:31 +00:00
stringfwd.h std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer. 2001-07-13 20:50:03 +00:00
type_traits.h algo.h: Add "GPL plus runtime exception" comment block, this time for real. 2001-06-27 17:09:53 +00:00
valarray_array.h indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public. 2001-06-21 12:01:09 +00:00
valarray_array.tcc include: New directory. 2000-10-05 11:27:02 +00:00
valarray_meta.h valarray_meta.h (_Expr::operator+): Use qualified id for _Expr template template argument. 2001-07-09 12:21:56 +00:00