summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std
Commit message (Collapse)AuthorAgeFilesLines
...
* * include/std/std_limits.h: Indent conditional macrogdr2002-08-251-406/+406
| | | | | | | definitions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56570 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use ourgdr2002-08-021-134/+75
| | | | | | | | | | | | | | | | | | | | | | | object function surrogates. * include/bits/valarray_meta.h (__shift_left): Fix typo. (_BinFunClos<>): Remove. (_BinFunBase<>): Likewise. (_BinFunBase1<>):Likewise. (_BinFunBase2<>): Likewise. (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_BINARY_OPERATOR): Likewise. (_DEFINE_EXPR_BINARY_FUNCTION): Likewise. * include/std/std_valarray.h: Dont #include <functional> anymore. (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>, _Shift_right<>): Remove. (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation. (_DEFINE_BINARY_OPERATOR): Tweak definition. (_DEFINE_LOGICAL_OPERATOR): Remove. * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56001 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/valarray_meta.h (_UnFunBase<>): Remove.gdr2002-08-021-273/+284
| | | | | | | | | | | | | | | | | | | (_UnFunClos<>): Same. (_UnBase<>): Reformat. Make first template-parameter non template. (_UnClos<>): Likewise. (_Expr<>): Reformate. Adjust unary member operator return types. (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition. (_DEFINE_EXPR_UNARY_FUNCTION): Likewise. * include/std/std_valarray.h (_UnClos<>): Adjust declaration. (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member operator return types. Reformat. (_Bitwise_not): Remove. (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition. * testsuite/26_numerics/valarray_name_lookup.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55993 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-07-312-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gabriel Dos Reis <gdr@nerim.net> * include/bits/char_traits.h: Remove generic definitions. * include/bits/streambuf_iterator.h (istreambuf_iterator): Use eof, not -2. * include/bits/istream.tcc (istream::readsome): Don't check against eof, instead use constants. (istream::sync): Same. (istream::sentry::sentry): Use eq_int_type. (istream::get): Same. * include/bits/ostream.tcc: Change __pad to __pad<_CharT, _Traits>::_S_pad. * include/bits/locale_facets.h: Add __pad_traits generic and ostreambuf_iterator specialization. * include/bits/locale_facets.tcc: Change __pad into struct __pad with a _CharT and _Traits template parameter and _S_pad static member function. * src/locale-inst.cc: Update __pad instantiations. * include/std/std_fstream.h: Declare _M_underflow_common specializations. * src/fstream.cc: New. Add _M_underflow_common specializations. * include/bits/fstream.tcc (filebuf::close): Use traits_type. (filebuf::_M_underflow_common(bool)): Remove generic version, as sys_ungetc and custom int_types don't get along. * include/std/std_streambuf.h: Add _M_pos. * src/Makefile.am (sources): Add fstream.cc. * src/Makefile.in: Regenerate. * testsuite/21_strings/capacity.cc: Add char_traits specializations. * testsuite/22_locale/codecvt_members_unicode_char.cc: Same. * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same. * testsuite/22_locale/ctor_copy_dtor.cc: Same. * testsuite/27_io/filebuf_virtuals.cc (test07): Move to... * testsuite/27_io/filebuf.cc: ...here. * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits specialization for both. * testsuite/27_io/streambuf.cc: Add instantiation test, testsuite_hooks include. * testsuite/27_io/istream.cc: Same. * testsuite/27_io/ostream.cc: Same. * testsuite/27_io/fstream.cc: Same. * testsuite/27_io/stringstream.cc: Same. * testsuite/27_io/filebuf.cc: Same. * testsuite/27_io/stringbuf.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55893 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-07-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/7216 * include/std/std_istream.h (basic_iostream): Add typedefs for char_type, int_type, pos_type, off_type, and traits_type. * testsuite/27_io/iostream.cc (test01): Add typedef tests. * testsuite/27_io/istream.cc: Same. * testsuite/27_io/ostream.cc: Same. * testsuite/27_io/filebuf.cc: Same. * testsuite/27_io/stringbuf.cc: Replace content, move to... * testsuite/27_io/stringbuf_members.cc: ...here. * testsuite/27_io/streambuf.cc: Replace content, move to... * testsuite/27_io/streambuf_members.cc: ...here. * testsuite/27_io/stringstream.cc: Replace content, move to... * testsuite/27_io/stringstream_members.cc: ...here. * testsuite/27_io/ios.cc: New file. * testsuite/27_io/fstream.cc: New file. * testsuite/27_io/ifstream.cc: New file. * testsuite/27_io/ofstream.cc: New file. * testsuite/27_io/istringstream.cc: New file. * testsuite/27_io/ostringstream.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55767 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/Makefile.am (bits_headers): Remove slice.hgdr2002-07-161-1/+0
| | | | | | | | | | | | | | * include/Makefile.in: Regenerate. * include/bits/slice.h (slice): move to include/bits/slice_array.h * include/bits/slice.h Remove. * include/std/std_valarray.h: Don't #include bits/slice.h anymore. * include/bits/slice_array.h: Comply to official coding styles. * testsuite/26_numerics/slice.cc: New test. :w :q git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55470 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-07-041-17/+18
| | | | | | | | | | | | | | | | | | | | | | | Jack Reeves <jackw_reeves@hotmail.com> * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to size_t, from int_type. (basic_streambuf::_M_buf_size_opt): Same. (basic_streambuf::_S_pback_sizex): Same. * include/bits/streambuf.tcc: Same. * include/std/std_streambuf.h (basic_streambuf::snextc): Use eq_int_type. (basic_streambuf::uflow): Same. * include/bits/sstream.tcc (basic_stringbuf::overflow): Use to_char_type. * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT(). * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use eq_int_type. (basic_streambuf::xsputn): Same. (__copy_streambufs): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55242 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-07-041-284/+271
| | | | | | | | | | | | | | * include/std/std_memory.h: Fix formatting. * testsuite/20_util/auto_ptr_neg.cc: New. * testsuite/20_util/auto_ptr.cc: Tweaks. * testsuite/23_containers/map_operators.cc (test01): Split into.. * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New. * testsuite/23_containers/set_operators.cc: Move to... * testsuite/23_containers/set_operators_neg.cc: ...here. * testsuite/README: Add some more naming rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55241 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>pme2002-07-031-103/+270
| | | | | | | | | | | | | | Kenny Simpson <theonetruekenny@yahoo.com> Phil Edwards <pme@gcc.gnu.org> PR libstdc++/3946 * testsuite/20_util/auto_ptr.cc (test08): New test. * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit. (auto_ptr::operator auto_ptr_ref): Fix typo. General reformatting and doxygenating of the whole file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55223 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-28 Phil Edwards <pme@gcc.gnu.org>pme2002-06-292-8/+9
| | | | | | | | | | PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 * include/std/std_queue.h: Include deque.tcc, vector.tcc. * include/std/std_stack.h: Include deque.tcc. * testsuite/23_containers/adaptors.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55090 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-16 Phil Edwards <pme@gcc.gnu.org>pme2002-06-161-0/+2
| | | | | | | | | | | | * docs/doxygen/TODO: Update. * docs/doxygen/tables.html: Uncomment magical middle column. * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros. * include/bits/stl_queue.h: Doxygenate and reformat. * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment for deprecated names required by the standard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54666 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-12 Phil Edwards <pme@gcc.gnu.org>pme2002-06-123-9/+12
| | | | | | | | | | | | | | | | | | * include/Makefile.am: Add new files. * include/Makefile.in: Regenerate. * include/bits/stl_deque.h, include/bits/stl_list.h, include/bits/stl_vector.h: Clean up, reformat. Move definitions... * include/bits/deque.tcc, include/bits/list.tcc, include/bits/vector.tcc: ...to here. New files. * include/ext/stl_hashtable.h: Inclide correct full headers. * include/std/std_deque.h: Include .tcc files for now. * include/std/std_list.h: Likewise. * include/std/std_vector.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54562 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-03 Phil Edwards <pme@gcc.gnu.org>pme2002-06-031-1/+1
| | | | | | | | | | | | | | | | * docs/doxygen/TODO: Update. * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that some class members are in 14882 order. * docs/html/ext/howto.html: 3.1 is in the past now, not the future. * include/std/std_bitset.h: Update comment. * src/bitset.cc: Update comments, clean up spacing. * src/Makefile.am (sources): Alphabetize for convenience. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54200 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-24 Phil Edwards <pme@gcc.gnu.org>pme2002-05-241-2/+97
| | | | | | | | | | | libstdc++/6282 * include/std/std_bitset.h (_Base_biteset<0>): New specialization. (operator>>): If nothing was extracted, don't fail in the zero-length case. * testsuite/23_containers/bitset_ctor.cc (test02): New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53844 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-01 Phil Edwards <pme@gcc.gnu.org>pme2002-05-011-1/+4
| | | | | | | | | | | | * include/std/std_bitset.h: Fix doxygen comments. * docs/html/documentation.html: Minor tweaks for 3.1. * docs/html/27_io/howto.html: Likewise. * docs/html/ext/howto.html: Likewise, mention stdio_filebuf. * docs/html/faq/index.html: Likewise. * docs/html/faq/index.txt: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53025 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-04-301-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | * include/ext/stdio_filebuf.h: New file. * include/ext/enc_filebuf.h: New file. * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor. * config/io/basic_file_stdio.cc: Same. * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer): Remove _M_unbuf hacks. (filebuf::_M_destroy_internal_buffer): Same. (filebuf::filebuf(cfile, openmode, int_type): Remove definition. (filebuf::fd): Remove. * include/std/std_fstream.h (filebuf::_M_unbuf): Remove. (filebuf::filebuf(__c_file*, openmode, int_type)): Remove. (filebuf::fd): Remove. * src/ios.cc (ios_base::_S_ios_create): Change to use specialized filebufs. (ios_base::_S_ios_destroy): Same. * src/misc-inst.cc (file_filebuf<char>): Add instantiation. * include/Makefile.am (ext_headers): Add ext_filebuf.h, stdio_filebuf.h. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52961 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/std_fstream.h (basic_filebuf::sync): Hoistljrittle2002-04-241-2/+4
| | | | | | | | | | | unconditional flush on lower-layer handle to here... * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): ...from here. Optimize remaining _M_file.sync() call pattern. * testsuite/27_io/narrow_stream_objects.cc (test04): New test. (test05): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52699 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix forjason2002-04-231-2/+2
| | | | | | | | | | output-only filebufs. * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate): Likewise. (basic_filebuf::_M_set_determinate): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52685 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/4150jason2002-04-222-50/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): Move to filebuf. (basic_streambuf::_M_set_determinate): Likewise. (basic_streambuf::_M_is_indeterminate): Likewise. * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New non-static data member. (basic_filebuf::_M_underflow_common): New non-static member function. (basic_filebuf::_M_underflow, _M_uflow): Call it. (basic_filebuf::sync): Avoid useless seeking. (basic_filebuf::_M_set_indeterminate): Move here from streambuf. Set _M_filepos. (basic_filebuf::_M_set_determinate): Likewise. (basic_filebuf::_M_is_indeterminate): Likewise. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek back to _M_out_beg if necessary. (basic_filebuf::seekoff): Likewise. (basic_filebuf::_M_underflow_common): Generalization of old underflow(). Don't seek back to _M_in_beg. * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. * config/os/bsd/freebsd/bits/os_defines.h: Likewise. * config/os/mingw32/bits/os_defines.h: Likewise. * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify ungetc test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52634 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-04-162-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/4164 Valgrind fixes. * config/io/basic_file_stdio.cc (__basic_file::~__basic_file): Call close. (__basic_file::close): Call fflush. Correct return if fclose ok. (__basic_file::is_open): Make const. Change __c_file_type to __c_file. * config/io/basic_file_stdio.h: Change __c_file_type to __c_file. (__basic_file::is_open): Make const. * config/io/c_io_stdio.h: Change __c_file_type to __c_file. * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove. (filebuf::_M_unbuf): Add. (filebuf::_M_file): Change to non-pointer. (filebuf::_M_allocate_pback_buffer): Remove. * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove. (filebuf::_M_allocate_internal_buffer): Use _M_unbuf. Change initialization list for _M_file change. (filebuf::_M_allocate_pback_buffer): Remove. Change _M_file usage to reflect non-pointer data member. * config/locale/generic/c_locale.cc (locale::facet::_S_create_c_locale): Add parameter. * config/locale/generic/collate_members.cc: Change _M_compare_helper to _M_compare. Change _M_transform_helper to _M_transform. * config/locale/generic/monetary_members.cc: Changeup data types. Add dtors. * config/locale/generic/numeric_members.cc: Add dtors. * config/locale/generic/time_members.cc: Add dtors. * config/locale/gnu/c_locale.cc: Add parameter. * config/locale/gnu/collate_members.cc:Change _M_compare_helper to _M_compare. Change _M_transform_helper to _M_transform. * config/locale/gnu/ctype_members.cc: Better error checking. * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking. * config/locale/gnu/messages_members.cc: Tweak comment. * config/locale/gnu/monetary_members.cc: Change data types. Add dtors. * config/locale/gnu/numeric_members.cc: Add dtors, better error checking. * config/locale/gnu/time_members.cc: Same. * config/locale/ieee_1003.1-2001/c_locale.cc (locale::facet::_S_create_c_locale): Add parameter. * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove bogus ctor. * include/bits/locale_facets.h (moneypunct): Use string literals. Don't define dtor. (numpunct): Same. (__timepunct): Same. (locale::_Impl::_M_facets): Change from vector to array. (locale::_Impl::_M_names): Change from array of strings to array of string literals. (locale::facet::_S_create_c_locale): Add parameter. (locale::locale::_S_num_facets): Move to... (locale::_Impl::_M_facets_size): Here. * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name changes. * include/bits/localefwd.h: (locale::id::_M_id): Add member function. (locale::_Impl::_Impl(facet**, size_t, bool)): Add. (locale::_Impl::_Impl(string, size_t)): Change to (locale::_Impl::_Impl(const char*, size_t)): This. * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define. * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to (streambuf::_S_pback_size): This. * src/globals.cc: Add pre-allocations for "C" facets. * src/locale-inst.cc: Remove vector instantiations. * src/locale.cc: Remove vector include. Fixups for _M_names, _M_facets changes. * src/localename.cc: Same. * include/bits/stl_vector.h: Fix odd formatting. * include/bits/basic_string.tcc: Tweak comment. * libsupc++/new: Make sure parameters are uglified. * libsupc++/typeinfo: Same. * testsuite/22_locale/num_get_members_char.cc: Fixup. * testsuite/22_locale/num_get_members_wchar_t.cc: Same. * testsuite/27_io/filebuf_members.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52345 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-12 Phil Edwards <pme@gcc.gnu.org>pme2002-04-121-267/+491
| | | | | | | | | * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up trailing spaces, indentation, and macro names. Make exception messages more informative. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52233 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-04-091-629/+729
| | | | | | | | | | | | | | | libstdc++/6124 * testsuite/23_containers/bitset_members.cc: New test. * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move.. (_S_bit_count): Here. (_First_one::_S_first_one): Move... (_S_first_one): Here. Format. * src/bitset.cc: Adjust. * config/linker-map.gnu: Export. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52066 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-04-091-1/+1
| | | | | | | | | | | | | | libstdc++/5180 * include/bits/fstream.tcc (filebuf::seekpos): Fix. * include/std/std_fstream.h: Clean. * include/bits/ostream.tcc: Remove extraneous variables. * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about open modes and which modes. (stringbuf::seekpos): Same. * testsuite/27_io/stringbuf_virtuals.cc: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-04-041-6/+3
| | | | | | | | | | | | As per DR 184, libstdc++/3139 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. (numeric_limits<bool>::is_iec559): False. (numeric_limits<bool>::is_modulo): False. * testsuite/27_io/ios_init.cc: Add instantiations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51838 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-27 Phil Edwards <pme@gcc.gnu.org>pme2002-03-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/doxygen/Intro.3: Date tweak. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Point to tables.html. * docs/doxygen/mainpage.html: Date tweak. * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over. * docs/doxygen/tables.html: Fill in the blanks. * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint. * include/bits/stl_algo.h: Likewise; use expanded form. * include/bits/stl_alloc.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/std/std_memory.h: Likewise. * include/bits/stl_deque.h: Point into tables.html and add @ingroup. * include/bits/stl_list.h: Likewise. * include/bits/stl_vector.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51471 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-03-081-121/+33
| | | | | | | | | | | * include/std/std_limits.h: Move static const data members out of generic template, into base class __numeric_limits_base. * src/limits.cc: Add definitions. * config/linker-map.gnu: Add __numeric_limits_base. * testsuite/18_support/numeric_limits.cc: Declare test in scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50447 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-06 Phil Edwards <pme@gcc.gnu.org>pme2002-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * docs/doxygen/user.cfg.in: Also document deprecated entries. * docs/html/Makefile: Example rule to rebuild porting-howto.html. * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when referring to the collection as a whole. New section on which macros can be redefined by the user. * docs/html/19_diagnostics/howto.html: Update note for concepts. * docs/html/20_util/howto.html: Update link to SGI. * docs/html/faq/index.html: Update snapshot versions. New entry on why g++ (but not gcc) must currently predefine certain macros. * docs/html/faq/index.txt: Regenerated. * include/bits/basic_string.h (basic_string::_S_construct): Fix names in declaration. (basic_string::compare): These are no longer optional. * include/bits/ostream.tcc: Tweak closing brace placement. * include/bits/stl_algo.h: Lots of initial doxygen comment hooks. * include/std/std_sstream.h: Fix typo in comment. * include/bits/locale_facets.tcc: Remove unneeded header inclusion. * src/locale.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50376 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-03 Phil Edwards <pme@gcc.gnu.org>pme2002-03-031-38/+38
| | | | | | | | | * include/std/std_sstream.h: Remove trailing spaces. (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app. * testsuite/27_io/stringbuf.cc (test05, test06): New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50258 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-201-27/+27
| | | | | | | | | | | | | * include/std/std_iomanip.h: Inline, tweaks. * config/linker-map.gnu: Remove hacks. * testsuite/21_strings/capacity.cc: Add explicit instantiations. * testsuite/27_io/ios_init.cc: Same. * testsuite/22_locale/money_get_members_char.cc (test07): Fix. * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49884 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-161-2/+0
| | | | | | | | | * include/std/std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T * include/bits/stringfwd.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49800 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-161-1/+1
| | | | | | | | * src/locale.cc (moneypunct_byname): Remove definitions. * include/std/std_streambuf.h (streambuf::operator=): Return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49799 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-166-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49798 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-131-1/+0
| | | | | | | | | | | | * src/localename.cc: Remove stdexcept include. * src/locale-inst.cc: Same. * src/locale.cc: Same. * src/functexcept.cc: Remove string includes. * include/std/std_bitset.h: Remove stdexcept include. * testsuite/23_containers/bitset_members.cc: Add stdexcept. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49740 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-081-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | libstdc++/5286 libstdc++/3860 * include/std/std_fstream.h (filebuf::__file_type): Change to __basic_file<char>. (filebuf::_M_convert_to_external): Declare. * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define codecvt bits for wide streams. (filebuf::_M_really_overflow): Use it. (filebuf::underflow): Use codecvt. * config/locale/codecvt_specializations_ieee_1003.1-200x.h: (codecvt<__enc_traits>::do_out): Deal with partial. (codecvt<__enc_traits>::do_encoding): Return something useful. * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof wchar_t. * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): Change expected encoding output. (test02): Same. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. (test02): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49601 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-04 Phil Edwards <pme@gcc.gnu.org>pme2002-02-051-91/+167
| | | | | | | | | | | | | | | | | | * docs/doxygen/TODO: Impl-defined behavior now documented... * docs/html/17_intro/howto.html: ...here. * docs/doxygen/mainpage.doxy: Remove, rename... * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license. * docs/doxygen/style.css: Add small text. * docs/doxygen/run_doxygen: Adjust for new mainpage. * docs/doxygen/user.cfg.in: Likewise. 2002-02-04 Stephan Buys <s.buys@icon.co.za> * include/bits/stl_map.h: Initial doxygen markup. * include/std/std_fstream.h: Initial doxygen markup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49502 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-02-013-12/+5
| | | | | | | | | | | | | | | | | * config/locale/codecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor. Make ctors explicit. (__enc_traits::__enc_traits()): Default ctor does nothing. (__enc_traits::_M_init): Guard against multiple iconv_opens. * include/std/std_sstream.h (basic_stringbuf): Make data members protected. * include/std/std_fstream.h (basic_filebuf): Same. * include/std/std_streambuf.h: Tweak. * include/bits/streambuf.tcc: Same. * include/bits/sstream.tcc: Same. * include/bits/fstream.tcc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49387 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-28 Phil Edwards <pme@gcc.gnu.org>pme2002-01-2829-115/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets. * Makefile.in: Regenerate. * docs/doxygen/run_doxygen: Update, mostly for man pages. * docs/doxygen/Intro.3: Update. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx. * docs/doxygen/mainpage.doxy: Update. * docs/doxygen/user.cfg.in: Update for header rename. Also regenerate comments and variables with 1.2.12. * docs/doxygen/maint.cfg.in: Remove file. * include/bits/stl_relops.h: Doxygenate. * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise. * include/c_std/std_cassert.h, include/c_std/std_cctype.h, include/c_std/std_cerrno.h, include/c_std/std_cfloat.h, include/c_std/std_ciso646.h, include/c_std/std_climits.h, include/c_std/std_clocale.h, include/c_std/std_cmath.h, include/c_std/std_csetjmp.h, include/c_std/std_csignal.h, include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h, include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h, include/c_std/std_cstring.h, include/c_std/std_ctime.h, include/c_std/std_cwchar.h, include/c_std/std_cwctype.h, include/ext/algorithm, include/ext/functional, include/ext/hash_map, include/ext/hash_set, include/ext/iterator, include/ext/memory, include/ext/numeric, include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h, include/ext/stl_hashtable.h, include/ext/stl_rope.h, include/std/std_algorithm.h, include/std/std_bitset.h, include/std/std_complex.h, include/std/std_deque.h, include/std/std_fstream.h, include/std/std_functional.h, include/std/std_iomanip.h, include/std/std_ios.h, include/std/std_iosfwd.h, include/std/std_iostream.h, include/std/std_istream.h, include/std/std_iterator.h, include/std/std_limits.h, include/std/std_list.h, include/std/std_locale.h, include/std/std_map.h, include/std/std_memory.h, include/std/std_numeric.h, include/std/std_ostream.h, include/std/std_queue.h, include/std/std_set.h, include/std/std_sstream.h, include/std/std_stack.h, include/std/std_stdexcept.h, include/std/std_streambuf.h, include/std/std_string.h, include/std/std_utility.h, include/std/std_valarray.h, include/std/std_vector.h: Add/correct @file doxygen hook. * include/ext/memory: Doxygenate most of rest of file. * libsupc++/exception: Doxygen output formatting. * libsupc++/new: Say which header it is. * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing. * docs/html/19_diagnostics/howto.html: Describe concept-checks switch. * docs/html/23_containers/howto.html: Describe O(n) list::size(). * docs/html/27_io/howto.html: Also link to Langer and Kreft text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49300 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-24 Phil Edwards <pme@gcc.gnu.org>pme2002-01-252-6/+64
| | | | | | | | | | | | | | | | | * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. * include/bits/stl_algo.h: Include stl_tempbuf.h. * include/ext/memory: Do not include stl_tempbuf.h. (temporary_buffer): Add doxygen hook. (__get_temporary_buffer, get_temporary_buffer, return_temporary_buffer): Move back to std:: header... * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h. * include/ext/rope: Do not include stl_tempbuf.h. * include/ext/stl_hashtable.h: Likewise. * include/std/std_algorithm.h: Likewise. * testsuite/20_util/temporary_buffer.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49199 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-01-231-2/+2
| | | | | | | * config/locale/c_locale_generic.cc: Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49125 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,gdr2002-01-171-2/+2
| | | | | | | __glibcpp_double_has_quiet_NaN): Correct mispelling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48955 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-11 Phil Edwards <pme@gcc.gnu.org>pme2002-01-1229-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am (std_headers): Update list with new names. (stamp-std): Link to standardized name. * include/Makefile.in: Regenerate. * include/std/algorithm, include/std/bitset, include/std/complex, include/std/deque, include/std/fstream, include/std/functional, include/std/iomanip, include/std/ios, include/std/iosfwd, include/std/iostream, include/std/istream, include/std/iterator, include/std/limits, include/std/list, include/std/locale, include/std/map, include/std/memory, include/std/numeric, include/std/ostream, include/std/queue, include/std/set, include/std/sstream, include/std/stack, include/std/stdexcept, include/std/streambuf, include/std/string, include/std/utility, include/std/valarray, include/std/vector: Rename to... * include/std/std_algorithm.h, include/std/std_bitset.h, include/std/std_complex.h, include/std/std_deque.h, include/std/std_fstream.h, include/std/std_functional.h, include/std/std_iomanip.h, include/std/std_ios.h, include/std/std_iosfwd.h, include/std/std_iostream.h, include/std/std_istream.h, include/std/std_iterator.h, include/std/std_limits.h, include/std/std_list.h, include/std/std_locale.h, include/std/std_map.h, include/std/std_memory.h, include/std/std_numeric.h, include/std/std_ostream.h, include/std/std_queue.h, include/std/std_set.h, include/std/std_sstream.h, include/std/std_stack.h, include/std/std_stdexcept.h, include/std/std_streambuf.h, include/std/std_string.h, include/std/std_utility.h, include/std/std_valarray.h, include/std/std_vector.h: ...this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48788 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-01-081-6/+5
| | | | | | | | | | | | | | | | | | libstdc++/2913 libstdc++/4879 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test return value of _M_file->sync(). (filebuf::showmanyc): Check for is_open. * include/std/fstream (filebuf::sync): Tweak. * testsuite/27_io/filebuf.cc: Tweak. 2002-01-08 John Fardo <jfardo@laurelnetworks.com> Brad Garcia <garsh@attbi.com> * testsuite/27_io/filebuf_members.cc: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48654 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2002-01-0447-914/+7458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48544 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-27 Phil Edwards <pme@gcc.gnu.org>pme2001-09-2747-0/+308
| | | | | | | | | | | | | * include/std/*: Add Doxygen hooks. * docs/doxygen/Intro.3: New file, general intro to the man pages. * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links rather than using a generated index. * docs/doxygen/user.cfg.in: Disable the index, enable man pages. * docs/doxygen/run_doxygen: Massage the generated man pages, using... * docs/doxygen/stdheader.cc: ...this new file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45850 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-06-0847-0/+1359
| | | | | | | | | | | | | | | | | | | | | libstdc++/2767 libstdc++/2989 libstdc++/2992 * include/std/*: Add copyright notice. * include/c_std/bits/*: Use using statements instead of extern "C". * include/c_std/bits/std_cmath.h: Don't overload double versions of math functions with __buitin versions, use global version to prevent ambiguities. Remove define hacks. * include/c_std/bits/std_cwchar.h: Using declarations for "C" functions that have changed signatures and std:: declarations. Remove define hacks. * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous __builtins in std::. Remove define hacks. * testsuite/17_intro/headers_c.cc: Add tests. * testsuite/17_intro/headers_c++.cc: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43061 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/strstream.cc: Adjust includes. * src/Makefile.am (base_headers): Remove std_strstream.h, add backwards/strstream.h. (std_headers): Remove strstream. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am (headers): Remove new.h * libsupc++/Makefile.in: Regenerate. * include/std/strstream: Remove. * include/backward/strstream.h: Replace with... * include/bits/std_strstream.h: ...this. Move. * include/backward/complex.h: Remove SGIisms. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/ostream.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: Same. * include/backward/iomanip.h: Same. * include/backward/fstream.h: Same. * libsupc++/new.h: Add using declarations for bad_alloc, nothrow_t, and nothrow, move to ... * include/backward/new.h: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37632 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-10-103-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (LIBSUPCXX_INCLUDES): Adjust. * libsupc++/include: Remove * libsupc++/include/*: Move to ... * libsupc++: Here. * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers. (glibcppinstalldir): New. * src/Makefile.am (c_base_headers): New. (c_shadow_headers): New (c_headers): New. (myinstallheaders): Correct install issues. * src/Makefile.in: Regenerate. * Makefile.am (CSHADOW_INCLUDES): Simplify. * Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir. * aclocal.m4: Regenerate. * mkcheck.in (SRC_DIR): Use it. * include/bits/std_stdexcept.h: And here. * include/bits/std_ios.h: Change std_exception.h to exception. * src/locale.cc: And here. * src/locale-inst.cc: And here. * include/bits/valarray_array.h: And here. * include/bits/stl_alloc.h: And here. * include/bits/stl_algobase.h: And here. * include/bits/pthread_allocimpl.h: And here. * include/bits/stl_construct.h: Change to std_new.h to new. * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo. * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES. (headers): Remove duplicated headers. (std_headers): And here. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove. * libsupc++/Makefile.in: Regenerate. * Makefile.am (LIBSUPCXX_INCLUDES): Add here. (AM_MAKEFLAGS): And here. * Makefile.in: Regenerate. * include/bits/std_typeinfo.h: Remove. * include/bits/std_new.h: Remove * include/bits/std_exception.h: Remove. * std/new: Remove. * std/typeinfo: Remove. * std/exception: Remove. * libio/_G_config.h (__need_ptrdiff_t): Add. * libsupc++/include/new: Change stddef.h to cstddef. * libsupc++/tinfo.h: Change limits.h to climits. * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this renders the file uncompilable. Add copyright. * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std namespace, as it is a fundamental type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>bkoz2000-10-0551-0/+155
* include: New directory. * include/backward: New directory. * include/bits: New directory. * include/ext: New directory. * include/std: New directory. * include/*/*: Populate. * src/complex.cc: Adjust include of mathconf. * mkc++config (BASE_H): Add include. * src/Makefile.am: Support for topleve sources include directory. (INCLUDES): Add LIBMATH_INCLUDE. * src/Makefile.in: Regenerate. * math/Makefile.am (INCLUDES): Append /include. * math/Makefile.in: Regenerate. * libio/Makefile.am (INCLUDES): Add glibcpp_includedir. * libio/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36723 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud