mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-06 01:06:37 +02:00
is_any_of - std::set instantiation problem fix
[SVN r22457]
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
#include <locale>
|
||||
#include <set>
|
||||
#include <boost/algorithm/string/collection_traits.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace algorithm {
|
||||
@ -81,7 +82,9 @@ namespace boost {
|
||||
}
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user