From 99f50f9d2b30cd5c0012405a42f84f925d58ac83 Mon Sep 17 00:00:00 2001 From: Pavol Droba Date: Sun, 7 Mar 2004 17:27:06 +0000 Subject: [PATCH] is_any_of - std::set instantiation problem fix [SVN r22457] --- include/boost/algorithm/string/detail/classification.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/algorithm/string/detail/classification.hpp b/include/boost/algorithm/string/detail/classification.hpp index f32b9ab..f750229 100644 --- a/include/boost/algorithm/string/detail/classification.hpp +++ b/include/boost/algorithm/string/detail/classification.hpp @@ -16,6 +16,7 @@ #include #include #include +#include namespace boost { namespace algorithm { @@ -81,7 +82,9 @@ namespace boost { } private: - std::set m_Set; + // set cannot operate on const value-type + typedef typename remove_const::type set_value_type; + std::set m_Set; }; // is_from_range functor