[LLVMbugs] [Bug 10539] New: basic_string constructors do not properly line up with standard

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 29 18:31:32 PDT 2011


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

           Summary: basic_string constructors do not properly line up with
                    standard
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: scshunt at csclub.uwaterloo.ca
                CC: llvmbugs at cs.uiuc.edu


There are a couple of constructors of base_string that do not precisely match
the standard. There is basic_string(const_pointer) and
basic_string(const_pointer, const allocator_type&); these should be merged into
one with a default argument. Additionally, they should not take a
const_pointer; they should take a const _CharT*, since this type does not vary
for user-provided allocators.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list