[llvm-dev] C++ compiler error I do not understand (original) (raw)

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 30 18:19:00 PDT 2021


Ah yes, I understand. Thanks!

Now I will make a struct rather than a tuple, which will be much clearer.

On 3/30/2021 8:10 PM, Krzysztof Parzyszek wrote:

The 4^th constructor takes a (unique) pointer, not a reference, but you pass an rvalue reference.  If you really need an unique pointer, you can make one with std::makeunique. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210330/1c74bff9/attachment.html>



More information about the llvm-dev mailing list