Index: boost/array.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/array.hpp,v retrieving revision 1.23 diff -u -r1.23 array.hpp --- boost/array.hpp 9 Sep 2004 13:59:00 -0000 1.23 +++ boost/array.hpp 3 May 2006 18:48:36 -0000 @@ -59,6 +59,9 @@ iterator end() { return elems+N; } const_iterator end() const { return elems+N; } + const_iterator cbegin() const { return elems; } + const_iterator cend() const { return elems+N; } + // reverse iterator support #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC_STD_ITERATOR) && !defined(BOOST_NO_STD_ITERATOR_TRAITS) typedef std::reverse_iterator reverse_iterator; @@ -83,6 +86,12 @@ const_reverse_iterator rend() const { return const_reverse_iterator(begin()); } + const_reverse_iterator crbegin() const { + return const_reverse_iterator(end()); + } + const_reverse_iterator crend() const { + return const_reverse_iterator(begin()); + } // operator[] reference operator[](size_type i)