Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53088 - trunk/boost/regex/v4
From: steven_at_[hidden]
Date: 2009-05-18 11:42:05


Author: steven_watanabe
Date: 2009-05-18 11:42:04 EDT (Mon, 18 May 2009)
New Revision: 53088
URL: http://svn.boost.org/trac/boost/changeset/53088

Log:
Qualify lower_bound with std:: to allow regex to work with Sun CC
Text files modified:
   trunk/boost/regex/v4/basic_regex.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/regex/v4/basic_regex.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex.hpp (original)
+++ trunk/boost/regex/v4/basic_regex.hpp 2009-05-18 11:42:04 EDT (Mon, 18 May 2009)
@@ -104,7 +104,7 @@
    int get_id(const charT* i, const charT* j)
    {
       name t(i, j, 0);
- typename std::vector<name>::const_iterator pos = lower_bound(m_sub_names.begin(), m_sub_names.end(), t);
+ typename std::vector<name>::const_iterator pos = std::lower_bound(m_sub_names.begin(), m_sub_names.end(), t);
       if((pos != m_sub_names.end()) && (*pos == t))
       {
          return pos->index;


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