[LLVMbugs] [Bug 21447] New: string_view::to_string() is not marked const

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 1 22:19:34 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21447

            Bug ID: 21447
           Summary: string_view::to_string() is not marked const
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvp4846 at g.rit.edu
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

The implementation of std::experimental::string_view::to_string() isn't marked
const, even though n4082[1] says it should be. The std::string conversion
operator *is* marked const, however.

If no one fixes this in a day or two, I'll write up a patch. I assume I'd have
to write tests for this?

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4082.pdf

-- 
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/20141102/d9038d8f/attachment.html>


More information about the llvm-bugs mailing list