gcc/libstdc++-v3/testsuite
Doug Gregor 59cffcf69a [multiple changes]
2005-03-31  Chris Jefferson  <chris@bubblescope.net>

        * include/tr1/tuple: Support iteration via tuple_iterate.h.
        * include/tr1/tuple_iterate.h: Iteration file for tuple.

2005-03-31  Douglas Gregor  <doug.gregor@gmail.com>

        * include/Makefile.am (tr1_headers): Add bind and mu repetition
        headers and reference_wrapper<> forwarding header.
        * include/Makefile.in: Regenerate.
        * include/tr1/bind_iterate.h: Implementation of function call
        operators for the function object returned from tr1::bind().
        * include/tr1/bind_repeat.h: Bind-specific repetition header,
        akin to include/tr1/repeat.h.
        * include/tr1/functional (_Mem_fn): Bug fix: declare result
member
        template for use with result_of.
        (is_bind_expression): New.
        (is_placeholder): New.
        (_Placeholder): New. Placeholder type for bind.
        (_Mu): New. Implementation detail of bind.
        (_Bind, _Bind_result): New. Function objects returned by bind.
        (_GLIBCXX_JOIN): New. Required to create bind placeholders.
        * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
        New. Implementation of tr1::bind.
        * include/tr1/mu_iterate.h (_Mu): result template and operator()
        for the _Mu helper to bind.
        * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
        used by tuple header.
        (ref): Ditto.
        (cref): Ditto.
        * include/tr1/repeat.h: Add bind-specific repetition macros.
        * include/tr1/tuple: Use reference_wrapper forwarding header for
        initial definitions, then include <tr1/functional> at the end, to
        make the circular dependencies work.
        (tie): Support zero-argument tie() function.
        * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
        bind() functionality with parameters bound.
        * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
        nested bind() expressions.
        * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
        of bind() placeholders.
        * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
        with arguments bound via reference_wrapper<>.
        * scripts/gen_includers.pl: Generate the repetitive part of
	include/tr1/repeat.h.
	* scripts/gen_bind_includers.pl: Generate the repetitive part of
	include/tr1/bind_repeat.h.

From-SVN: r97361
2005-04-01 03:35:59 +00:00
..
17_intro locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
18_support 9555-ic.cc: Clarify assertion, set test variable to false before assert. 2004-04-19 19:00:09 +00:00
19_diagnostics locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
20_util binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
21_strings re PR libstdc++/19829 (cris-elf testsuite failure: 21_strings/basic_string/find/char/3.cc execution test) 2005-02-16 11:09:57 +00:00
22_locale binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
23_containers binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
24_iterators binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
25_algorithms re PR libstdc++/20577 (iter_swap doesn't work anymore with vector<bool>) 2005-03-21 22:16:15 +00:00
26_numerics * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak. 2005-03-02 03:02:45 +00:00
27_io binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
backward testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to CXXFLAGS_save. 2004-03-04 23:29:44 +00:00
config default.exp: Update with comments. 2004-02-27 22:01:32 +00:00
data 9827.cc: New. 2005-01-23 23:35:20 +00:00
demangle re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02) 2005-02-15 01:07:53 +01:00
ext binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
lib libstdc++.exp (libstdc++_init): Define LOCALEDIR when testing an installed compiler. 2005-03-25 23:24:57 +00:00
libstdc++-dg normal.exp: Read testsuite_files, if it exists. 2005-03-24 04:26:30 +00:00
performance testsuite_performance.h (time_counter::start): Clear. 2005-01-18 16:44:51 +00:00
thread binders.cc: Remove explicit instantiations for non-weak systems. 2005-03-16 11:24:36 +00:00
tr1 [multiple changes] 2005-04-01 03:35:59 +00:00
Makefile.am Makefile.am (CXX): Use ${SHELL}. 2005-03-30 15:24:16 -06:00
Makefile.in Makefile.am (CXX): Use ${SHELL}. 2005-03-30 15:24:16 -06:00
abi_check.cc abi_check.cc: Add unistd.h. 2004-05-22 17:08:02 +00:00
printnow.c libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
testsuite_abi.cc cons/auto_ptr_neg.cc: Correct line numbers. 2005-03-01 03:52:37 +00:00
testsuite_abi.h 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> 2005-01-06 07:08:48 +00:00
testsuite_allocator.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
testsuite_allocator.h testsuite_allocator.h (check_delete): New. 2004-10-29 21:03:07 +00:00
testsuite_character.h locale_facets.tcc (num_get<>::_M_extract_float, [...]): Prefer plain operator== to traits::eq(). 2004-03-06 09:00:14 +00:00
testsuite_hooks.cc 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> 2005-01-06 07:08:48 +00:00
testsuite_hooks.h 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> 2005-01-06 07:08:48 +00:00
testsuite_io.h 9561.cc: New. 2004-12-19 21:57:28 +00:00
testsuite_iterators.h testsuite_iterators.h: New. 2004-11-24 06:24:10 +00:00
testsuite_performance.h testsuite_performance.h (time_counter::start): Clear. 2005-01-18 16:44:51 +00:00
testsuite_tr1.h [multiple changes] 2005-04-01 03:35:59 +00:00