Issue 154174
Summary libc++ <memory> header fails with uses_allocator_construction_args case.
Labels libc++
Assignees
Reporter edfvogel
    The following test compiles with clang++, but will fail with -stdlib=libc++ is used.   

#include <memory>

using P00 = std::pair<const int, const char>;
using A00 = std::allocator<P00>;
constexpr P00 p00(1, 'a');
constexpr A00 a00;
constexpr auto r00
  = std::uses_allocator_construction_args<P00, A00, const int, const char>(
 a00, std::move(p00));

Again, not an important issue, just wanted to make you aware of it.

Thank you,

Ed Vogel

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to