[llvm-bugs] [Bug 34729] std::string_view encourages use-after-free

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 13 10:02:50 PDT 2017


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

Marshall Clow (home) <mclow.lists at gmail.com> changed:

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

--- Comment #3 from Marshall Clow (home) <mclow.lists at gmail.com> ---
LEWG/LWG considered this during the adoption of string_view, and decided that
they were OK with it. (or, more accurately, that fixing this would make
string_view much less useful).

So this is definitely a C++17 "feature".

-- 
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/20171013/e77ca7d6/attachment.html>


More information about the llvm-bugs mailing list