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

Richard Smith richard at metafoo.co.uk
Mon Jan 14 22:03:34 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> {};
+
----------------
Michael Spencer wrote:
> According to Richard this is true if both types are undefined. I'm not sure how to fix that.
http://llvm-reviews.chandlerc.com/P31


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



More information about the llvm-commits mailing list