minor update of comments

[SVN r41175]
This commit is contained in:
Thorsten Jørgen Ottosen
2007-11-17 20:22:05 +00:00
parent 6ac0cfe09c
commit a2f3a45214
3 changed files with 10 additions and 1 deletions

View File

@ -41,6 +41,11 @@ namespace range_detail
inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
range_begin( C& c ) 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(); return c.begin();
} }

View File

@ -82,7 +82,6 @@ namespace boost {
T a; T a;
range_iterator i; range_iterator i;
range_const_iterator ci; range_const_iterator ci;
bool b;
}; };
//! Check if a type T models the ForwardRange range concept. //! Check if a type T models the ForwardRange range concept.

View File

@ -42,6 +42,11 @@ namespace range_detail
inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
range_end( C& c ) 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(); return c.end();
} }