This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3 PATCH] Implement C++17 GB50 resolution


Tested on Linux-x64

Implementation of resolution for C++17 GB50

2017-02-12 Dinka Ranns <dinka.ranns@googlemail.com>

        C++17 GB50 resolution
        * libstdc++-v3/include/std/chrono:
        (duration::operator++()): Add constexpr.
        (duration::operator++(int)): Likewise
        (duration::operator--()): Likewise
        (duration::operator--(int)): Likewise
        (duration::operator+=(const duration&)): Likewise
        (duration::operator-=(const duration&)): Likewise
        (duration::operator*=(const rep&)): Likewise
        (duration::operator/=(const rep&)): Likewise
        (duration::operator%=(const rep&)): Likewise
        (duration::operator%=(const duration&)): Likewise
        (time_point::operator+=(const duration&)): Likewise
        (time_point::operator-=(const duration&)): Likewise

        * libstdc++-v3/testsuite/20_util/duration/arithmetic/constexpr.cc:
new tests
        * libstdc++-v3/testsuite/20_util/time_point/arithmetic/constexpr.cc: new

Attachment: gb50-changes.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]