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: unassignedclangb...@nondot.org
          Reporter: ionelpopesc...@yahoo.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to