[llvm-bugs] [Bug 31658] Type alias fails in namespace std?
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 16 12:17:36 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31658
Hal Finkel <hfinkel at anl.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Hal Finkel <hfinkel at anl.gov> ---
(In reply to comment #1)
> Libc++ provides <string_view> and the identifier `std::basic_string_view` in
> all dialects. For example the following code compiles with libc++:
>
> // clang++ -std=c++11 test.cpp
> #include <experimental/string_view>
>
> using MySV = std::basic_string_view<char>; // OK.
>
> I agree that the Clang diagnostic in this case is really unfortunate.
I'll open a new bug for the diagnostic problem (it looks like it is not
specific to type aliases).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170116/c441f4ee/attachment.html>
More information about the llvm-bugs
mailing list