Adjust max_align_t handling
authorJoerg Sonnenberger <joerg@bec.de>
Tue, 4 Feb 2020 14:04:42 +0000 (15:04 +0100)
committerJoerg Sonnenberger <joerg@bec.de>
Tue, 25 Feb 2020 00:36:43 +0000 (01:36 +0100)
commit03dd205c1516d9930a80101a7e0a6793af47ec9e
tree9b0b57b293b2bcca5ef7ecde57b48143b9dd83b9
parente34ddc09f464667b5f3a49bf60255e89041ddf44
Adjust max_align_t handling

Depend on the compiler to provide a correct implementation of
max_align_t. If __STDCPP_NEW_ALIGNMENT__ is missing and C++03 mode has
been explicitly enabled, provide a minimal fallback in <new> as
alignment of the largest primitive types.
libcxx/include/cstddef
libcxx/include/new
libcxx/include/stddef.h