Issue 151826
Summary libc++ fails to compile valid c++20 use of uses_allocator_construction_args
Labels libc++
Assignees
Reporter edfvogel
    The following C++20 program will not compile if I use -stdlib=libc++

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

I do note there are other bugs posted against uses_allocator_construction_args, but they are marked c++23,  I believe this should be accepted in C++20 mode.

Not in important issue...I  just wanted to report 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