[llvm-bugs] [Bug 27260] New: libc++ is missing std::vector static void swap(reference __x, reference __y) _NOEXCEPT

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 6 23:44:47 PDT 2016


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

            Bug ID: 27260
           Summary: libc++ is missing std::vector static void
                    swap(reference __x, reference __y) _NOEXCEPT
           Product: libc++
           Version: 3.8
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ionelpopescu97 at yahoo.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

This method is missing from vector class. It could be implemented as:

template <class _Allocator>
class _LIBCPP_TYPE_VIS_ONLY vector<bool, _Allocator>
    : private __vector_base_common<true>
{
    ...
    static void swap(reference __x, reference __y) _NOEXCEPT
    {
        _VSTD::swap(__x, __y);
    }
    ...
}

-- 
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/20160407/df0c3015/attachment.html>


More information about the llvm-bugs mailing list