Relocate std::endian from <type_traits> to <bit>
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Jul 2019 20:30:25 +0000 (21:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 25 Jul 2019 20:30:25 +0000 (21:30 +0100)
commit45c7215c1e17de75ea1abce59c3927f3f83d4b24
treeffdde12a367ace330a205565310550bfe8e2ad23
parent599780d601abd0e67814a07d9574cc00f227ea5e
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.

From-SVN: r273816
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/bit
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/endian/1.cc [deleted file]
libstdc++-v3/testsuite/26_numerics/endian/1.cc [new file with mode: 0644]