[llvm-bugs] [Bug 27259] New: std::move_iterator::pointer type defined in a non-standard way

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 6 23:41:07 PDT 2016


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

            Bug ID: 27259
           Summary: std::move_iterator::pointer type defined in a
                    non-standard way
           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

Libc++ defines move_iterator::pointer like this:
typedef typename iterator_traits<iterator_type>::pointer pointer;

According to the C++11 standard it should be defined like:
template <class Iterator>
class _LIBCPP_TYPE_VIS_ONLY move_iterator
{
    ...
    typedef Iterator pointer;
    ...
}

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


More information about the llvm-bugs mailing list