]> git.ipfire.org Git - thirdparty/gcc.git/commit
Relocate std::endian from <type_traits> to <bit>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Jul 2019 13:36:56 +0000 (14:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 26 Jul 2019 13:36:56 +0000 (14:36 +0100)
commitcdcfcb733bfd2b8bfdfdd189d8117102ec1d2fd1
treedfca088a5310455520321935df76270514f93a06
parent90889960ba8d168b4f35cb91d459c849cb88da60
Relocate std::endian from <type_traits> to <bit>

This change to an early C++2a feature was just approved (P1612R1).

Backport from mainline
2019-07-25  Jonathan Wakely  <jwakely@redhat.com>

* include/std/bit (endian): Move definition here as per P1612R1.
* include/std/type_traits (endian): Remove definition from here.
* testsuite/20_util/endian/1.cc: Rename to ...
* testsuite/26_numerics/endian/1.cc: ... here. Adjust header.

From-SVN: r273837
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/bit
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/26_numerics/endian/1.cc [moved from libstdc++-v3/testsuite/20_util/endian/1.cc with 98% similarity]