https://bugs.llvm.org/show_bug.cgi?id=39363

Eric Fiselier <e...@efcs.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #2 from Eric Fiselier <e...@efcs.ca> ---
libc++ supports this use case, we have tests for it, and it works.

The godbolt link you provided is using libstdc++, not libc++. Adding
-stdlib=libc++ makes the example compile as expected
(https://godbolt.org/z/pHpTlH)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to