Define __cpp_lib_endian feature test macro
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Jul 2019 13:30:42 +0000 (14:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 26 Jul 2019 13:30:42 +0000 (14:30 +0100)
commita5378f9b60d37d9839aea8f9ef50ad9c5a0f738c
treecc0475412df1331bf9f4157f6256e7caf113a2cb
parent3644cadf6a9d5a5cd8e83b0123316cf184fa4e3e
Define __cpp_lib_endian feature test macro

This macro was added as part of moving std::endian from <type_traits> to
<bit>.

* include/std/bit (__cpp_lib_endian): Define.
* include/std/version (__cpp_lib_endian): Define.
* testsuite/26_numerics/endian/2.cc: New.
* testsuite/26_numerics/endian/3.cc: New.
* testsuite/26_numerics/endian/4.cc: New.

From-SVN: r273828
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/bit
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/26_numerics/endian/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/endian/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/26_numerics/endian/4.cc [new file with mode: 0644]