chrono: New, as per N2661.
authorChris Fairles <chris.fairles@gmail.com>
Tue, 15 Jul 2008 23:23:23 +0000 (23:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 15 Jul 2008 23:23:23 +0000 (23:23 +0000)
commit15e38d0dce922e77304932817a10f1f42579553f
treeeafc38353a48e1cd63e574edc380874a144179ef
parent141368f01df366809a596c6093825d205835c86b
chrono: New, as per N2661.

2008-07-15  Chris Fairles  <chris.fairles@gmail.com>

        * include/std/chrono: New, as per N2661.
        * src/chrono.cc: New.
        * include/Makefile.am: Update.
        * src/Makefile.am: Likewise.
        * include/Makefile.in: Regenerate.
        * src/Makefile.in: Likewise.
        * acinclude.m4: Add tests for clock_gettime and gettimeofday that
define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY.
        * configure.ac: Use them.
        * configure: Regenerate.
        * config.h.in: Likewise.
        * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and
        system_clock::is_monotonic.
        * testsuite/20_util/duration/cons/1.cc: New.
        * testsuite/20_util/duration/cons/2.cc: Likewise.
        * testsuite/20_util/duration/cons/1_neg.cc: Likewise.
        * testsuite/20_util/duration/requirements/explicit_instantiation/
        explicit_instantiation.cc: Likewise.
        * testsuite/20_util/duration/arithmetic/1.cc: Likewise.
        * testsuite/20_util/duration/arithmetic/2.cc: Likewise.
        * testsuite/20_util/duration/comparisons/1.cc: Likewise.
        * testsuite/20_util/time_point/requirements/explicit_instantiation/
        explicit_instantiation.cc: Likewise.
        * testsuite/20_util/time_point/1.cc: Likewise.
        * testsuite/20_util/time_point/2.cc: Likewise.
        * testsuite/20_util/time_point/3.cc: Likewise.
        * testsuite/20_util/clocks/1.cc: Likewise.
        * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add
        missing headers.
        * testsuite/17_intro/headers/c++200x/all.cc: Likewise.
        * include/precompiled/stdc++.h: Likewise and remove <date_time>.
        * doc/doxygen/user.cfg.in: Likewise.

From-SVN: r137858
28 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/doc/doxygen/user.cfg.in
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/precompiled/stdc++.h
libstdc++-v3/include/std/chrono [new file with mode: 0644]
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in
libstdc++-v3/src/chrono.cc [new file with mode: 0644]
libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
libstdc++-v3/testsuite/20_util/clocks/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/comparisons/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/cons/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/cons/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/time_point/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/time_point/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/time_point/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc [new file with mode: 0644]