is_any_of - std::set instantiation problem fix

[SVN r22457]
This commit is contained in:
Pavol Droba
2004-03-07 17:27:06 +00:00
parent 1c963dac31
commit 99f50f9d2b

View File

@ -16,6 +16,7 @@
#include <locale> #include <locale>
#include <set> #include <set>
#include <boost/algorithm/string/collection_traits.hpp> #include <boost/algorithm/string/collection_traits.hpp>
#include <boost/type_traits/remove_const.hpp>
namespace boost { namespace boost {
namespace algorithm { namespace algorithm {
@ -81,7 +82,9 @@ namespace boost {
} }
private: private:
std::set<CharT> m_Set; // set cannot operate on const value-type
typedef typename remove_const<CharT>::type set_value_type;
std::set<set_value_type> m_Set;
}; };
// is_from_range functor // is_from_range functor