Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-11-17 15:22:06


Author: nesotto
Date: 2007-11-17 15:22:05 EST (Sat, 17 Nov 2007)
New Revision: 41175
URL: http://svn.boost.org/trac/boost/changeset/41175

Log:
minor update of comments
Text files modified:
   trunk/boost/range/begin.hpp | 5 +++++
   trunk/boost/range/concepts.hpp | 1 -
   trunk/boost/range/end.hpp | 5 +++++
   3 files changed, 10 insertions(+), 1 deletions(-)

Modified: trunk/boost/range/begin.hpp
==============================================================================
--- trunk/boost/range/begin.hpp (original)
+++ trunk/boost/range/begin.hpp 2007-11-17 15:22:05 EST (Sat, 17 Nov 2007)
@@ -41,6 +41,11 @@
     inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
     range_begin( C& c )
     {
+ //
+ // If you get a compile-error here, it is most likely because
+ // you have not implemented range_begin() properly in
+ // the namespace of C
+ //
         return c.begin();
     }
 

Modified: trunk/boost/range/concepts.hpp
==============================================================================
--- trunk/boost/range/concepts.hpp (original)
+++ trunk/boost/range/concepts.hpp 2007-11-17 15:22:05 EST (Sat, 17 Nov 2007)
@@ -82,7 +82,6 @@
         T a;
         range_iterator i;
         range_const_iterator ci;
- bool b;
     };
 
     //! Check if a type T models the ForwardRange range concept.

Modified: trunk/boost/range/end.hpp
==============================================================================
--- trunk/boost/range/end.hpp (original)
+++ trunk/boost/range/end.hpp 2007-11-17 15:22:05 EST (Sat, 17 Nov 2007)
@@ -42,6 +42,11 @@
         inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
         range_end( C& c )
         {
+ //
+ // If you get a compile-error here, it is most likely because
+ // you have not implemented range_begin() properly in
+ // the namespace of C
+ //
             return c.end();
         }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk