Implement P1007R3 std::assume_aligned
authorJonathan Wakely <jwakely@redhat.com>
Sun, 11 Nov 2018 05:16:51 +0000 (05:16 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 11 Nov 2018 05:16:51 +0000 (05:16 +0000)
commit37b736f6bd78d9238b8557ade7d6bbdabec51d97
tree5cb0452c0ba9dc129ab71f3e90679b6cc26044bd
parent47d591cf0055b52b71adb8e82e61002281b7035e
Implement P1007R3 std::assume_aligned

Implement P1007R3 std::assume_aligned
* include/std/memory (assume_aligned): Implement for C++17.
* testsuite/20_util/assume_aligned/1.cc: New test.
* testsuite/20_util/assume_aligned/2_neg.cc: New test.
* testsuite/20_util/assume_aligned/3.cc: New test.

From-SVN: r266009
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/memory
libstdc++-v3/testsuite/20_util/assume_aligned/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/assume_aligned/2_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/assume_aligned/3.cc [new file with mode: 0644]