Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61263 - trunk/boost/detail
From: jewillco_at_[hidden]
Date: 2010-04-13 20:16:22


Author: jewillco
Date: 2010-04-13 20:16:21 EDT (Tue, 13 Apr 2010)
New Revision: 61263
URL: http://svn.boost.org/trac/boost/changeset/61263

Log:
Disambiguated begin and end; fixes #4099
Text files modified:
   trunk/boost/detail/algorithm.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/detail/algorithm.hpp
==============================================================================
--- trunk/boost/detail/algorithm.hpp (original)
+++ trunk/boost/detail/algorithm.hpp 2010-04-13 20:16:21 EDT (Tue, 13 Apr 2010)
@@ -63,7 +63,7 @@
   template <typename Container, typename Predicate>
   bool any_if(const Container& c, Predicate p)
   {
- return any_if(begin(c), end(c), p);
+ return any_if(boost::begin(c), boost::end(c), p);
   }
 
   template <typename InputIterator, typename T>
@@ -74,7 +74,7 @@
   template <typename Container, typename T>
   bool container_contains(const Container& c, const T& value)
   {
- return container_contains(begin(c), end(c), value);
+ return container_contains(boost::begin(c), boost::end(c), value);
   }
 
 } // namespace boost


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