From d279b2c0a1108df126cfdba98b4ccd3f312064a0 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Mon, 18 May 2009 15:42:04 +0000 Subject: [PATCH] Qualify lower_bound with std:: to allow regex to work with Sun CC [SVN r53088] --- include/boost/regex/v4/basic_regex.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/basic_regex.hpp b/include/boost/regex/v4/basic_regex.hpp index aed79528..4a396a0e 100644 --- a/include/boost/regex/v4/basic_regex.hpp +++ b/include/boost/regex/v4/basic_regex.hpp @@ -104,7 +104,7 @@ public: int get_id(const charT* i, const charT* j) { name t(i, j, 0); - typename std::vector::const_iterator pos = lower_bound(m_sub_names.begin(), m_sub_names.end(), t); + typename std::vector::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;