libstdc++: Split std::align/assume_aligned to bits/align.h
authorThomas Rodgers <trodgers@redhat.com>
Fri, 11 Sep 2020 18:55:18 +0000 (11:55 -0700)
committerThomas Rodgers <trodgers@redhat.com>
Fri, 11 Sep 2020 20:13:12 +0000 (13:13 -0700)
commit2c3b1c5f950429c05865c88bc0b4a460d23f5192
treecf2011eb4da53b199879a6998a7d0a3f7b115ec3
parent53ad6b1979f4bd7121e977c4a44151b14d8a0147
libstdc++: Split std::align/assume_aligned to bits/align.h

We would like to be able to use std::align and std::assume_aligned
without pulling in everything in <memory>.

libstdc++-v3/ChangeLog:

* include/Makefile.am (bits_headers): Add new header.
* include/Makefile.in: Regenerate.
* include/bits/align.h: New file.
* include/std/memory (align): Move definition to bits/align.h.
(assume_aligned): Likewise.
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/align.h [new file with mode: 0644]
libstdc++-v3/include/std/memory