[PATCH] D18061: Add iterator types to iterator_range, to appease newer gcc's

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 15:06:29 PST 2016


On Fri, Mar 11, 2016 at 3:04 PM, Dimitry Andric via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> dim added a comment.
>
> Okay, the relevant change from http://reviews.llvm.org/rL255585 is that
> `_LIBCPP_HAS_NO_TRAILING_RETURN` doesn't get defined anymore, and this
> enables the std::begin() and std::end() implementations in <iterator>.
> Apparently, if these aren't defined, gcc wants to have iterator types
> defined in the class, though I still don't know for sure how it synthesizes
> begin() and end() methods then. :)
>

That's pretty weird...


>
>
> http://reviews.llvm.org/D18061
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160311/692f38b1/attachment.html>


More information about the llvm-commits mailing list