Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prelude: Add CRANGE/RRANGE/CRRANGE.

darcs-hash:20090103194651-ec8c9-6dd18acfb6ab52a3a30fbb27fe308fb4b9185b94.gz
  • Loading branch information...
commit 0d7884bf5c9e440454e9493364a99cdeac53f1bd 1 parent c084b3e
@Eelis authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  prelude/prelude.hpp
View
3  prelude/prelude.hpp
@@ -130,6 +130,9 @@
char const help [] = "Mini-manual: http://www.eelis.net/geordi/";
#define RANGE(x) (::boost::begin(x)), (::boost::end(x))
+#define CRANGE(x) (::boost::const_begin(x)), (::boost::const_end(x))
+#define RRANGE(x) (::boost::rbegin(x)), (::boost::rend(x))
+#define CRRANGE(x) (::boost::const_rbegin(x)), (::boost::const_rend(x))
#define T(n) \
namespace std \
Please sign in to comment.
Something went wrong with that request. Please try again.