]> git.ipfire.org Git - thirdparty/gcc.git/commit
Relocate std::endian from <type_traits> to <bit>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jul 2019 20:30:25 +0000 (20:30 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jul 2019 20:30:25 +0000 (20:30 +0000)
commit175a348ce63ad554228e6b58f4fbc6ca559b66cc
treeffdde12a367ace330a205565310550bfe8e2ad23
parent1ab86b378194c76f9433f60d2022de2eb39e1098
Relocate std::endian from <type_traits> to <bit>

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

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273816 138bc75d-0d04-0410-961f-82ee72b054a4
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]