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

Dimitry Andric via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 15:04:52 PST 2016


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. :)


http://reviews.llvm.org/D18061





More information about the llvm-commits mailing list