[llvm-bugs] [Bug 35054] New: basic_string_view<char> operator""sv(const char*, size_t) should be noexcept

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 24 04:45:43 PDT 2017


            Bug ID: 35054
           Summary: basic_string_view<char> operator""sv(const char*,
                    size_t) should be noexcept
           Product: libc++
           Version: 5.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pavel.kryukov at phystech.edu
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

`string_view` literal operators should have 'noexcept' specifier according to
the C++17 standard:

Currently libc++ implements the literal operators via
`basic_string_view<_charT>(const _charT*, size_t)` ctor which are not specified
as `noexcept` according to the same standard.

The same bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

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/20171024/fecc51d8/attachment-0001.html>

More information about the llvm-bugs mailing list