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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to