]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/Makefile.in
functional (_Has_result_type): Cleanup.
authorDouglas Gregor <doug.gregor@gmail.com>
Wed, 2 Mar 2005 12:56:28 +0000 (12:56 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Wed, 2 Mar 2005 12:56:28 +0000 (12:56 +0000)
commit3c2350009b2a2a319f1f6e7d15def6558ddc0b21
tree5e2e64883bf5fcdc589a92880840a165ed314e0e
parent2563c2248f41b473e18c33125f40ef2196773fc0
functional (_Has_result_type): Cleanup.

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

        * include/tr1/functional (_Has_result_type): Cleanup.
        (_Result_of_impl): Handle member data pointers correctly.
        (reference_wrapper): Support invocation.
        Move repetition code into new file include/tr1/repeat.h.
        * include/tr1/functional_iterate.h (reference_wrapper): Support
        invocation.  Cleanup long lines.
        * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
        invocation operators.
        * include/tr1/repeat.h: Code repetition header.
        * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h
        * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h
        * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
        New test of reference_wrapper invocation.
        * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
        New test of reference_wrapper typedefs and base classes.
        * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
        (e-mail address).

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

        * include/tr1/function (result_of): New class template.
        * include/tr1/functional/iterator.h: Implementation of TR1
        result_of.
        * testsuite/tr1/3_function_objects/result_of.cc: New test

From-SVN: r95778
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/tr1/functional
libstdc++-v3/include/tr1/functional_iterate.h
libstdc++-v3/include/tr1/ref_wrap_iterate.h [new file with mode: 0644]
libstdc++-v3/include/tr1/repeat.h [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/3_function_objects/result_of.cc [new file with mode: 0644]