Implement P1007R3 std::assume_aligned

Programming / Compilers / GCC - redi [138bc75d-0d04-0410-961f-82ee72b054a4] - 11 November 2018 05:16 EST

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

056c53b7427 Implement P1007R3 std::assume_aligned
libstdc++-v3/ChangeLog | 8 +++++
libstdc++-v3/include/std/memory | 15 ++++++++++
libstdc++-v3/testsuite/20_util/assume_aligned/1.cc | 35 ++++++++++++++++++++++
.../testsuite/20_util/assume_aligned/2_neg.cc | 30 +++++++++++++++++++
libstdc++-v3/testsuite/20_util/assume_aligned/3.cc | 34 +++++++++++++++++++++
5 files changed, 122 insertions(+)

Upstream: gcc.gnu.org


  • Share