Fix compilation errors with Clang
commit540218dd246231a52e377d42e81f467bd7d73b46
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Oct 2019 20:16:57 +0000 (29 20:16 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Oct 2019 20:16:57 +0000 (29 20:16 +0000)
treeae4db19af38f71b34db40b668069ceac82d8f5ed
parent6d0dff49ca1539e14647c04cc1bb035ef4c2780b
Fix compilation errors with Clang

* include/bits/alloc_traits.h (__cpp_lib_constexpr_dynamic_alloc):
Define.
(allocator_traits::_S_construct, allocator_traits::_S_destroy)
(__alloc_on_copy, __alloc_on_move, __alloc_on_swap): Use
_GLIBCXX14_CONSTEXPR instead of constexpr.
* include/bits/stl_construct.h (_Destroy): Likewise.

From-SVN: r277588
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/include/bits/stl_construct.h
libstdc++-v3/include/ext/alloc_traits.h