[llvm-commits] [PATCH] [ADT] Add the range library based on the C++1y proposal.

Michael Spencer bigcheesegs at gmail.com
Sat Jan 12 16:23:46 PST 2013



================
Comment at: include/llvm/ADT/range.h:59-61
@@ +58,5 @@
+// ranges. [stmt.ranged]
+template <typename R>
+struct is_range : std::is_same<typename detail::begin_result<R>::type,
+                               typename detail::end_result<R>::type> {};
+
----------------
According to Richard this is true if both types are undefined. I'm not sure how to fix that.


http://llvm-reviews.chandlerc.com/D293



More information about the llvm-commits mailing list