mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-09 23:14:04 +00:00
stopped relying on stdlib function objects' ::result_type
This commit is contained in:
parent
9d1813aaad
commit
b685e11dfc
@ -618,7 +618,8 @@ public:
|
||||
end()-make_iterator(
|
||||
random_access_index_remove<index_node_type>(
|
||||
ptrs,
|
||||
::boost::bind(std::equal_to<value_type>(),::boost::arg<1>(),value)));
|
||||
::boost::bind<bool>(
|
||||
std::equal_to<value_type>(),::boost::arg<1>(),value)));
|
||||
while(n--)pop_back();
|
||||
}
|
||||
|
||||
|
@ -547,7 +547,8 @@ public:
|
||||
{
|
||||
sequenced_index_remove(
|
||||
*this,
|
||||
::boost::bind(std::equal_to<value_type>(),::boost::arg<1>(),value));
|
||||
::boost::bind<bool>(
|
||||
std::equal_to<value_type>(),::boost::arg<1>(),value));
|
||||
}
|
||||
|
||||
template<typename Predicate>
|
||||
|
@ -39,10 +39,10 @@ typedef int_set::iterator int_set_iterator;
|
||||
#define CHECK_VOID_RANGE(p) BOOST_TEST((p).first==(p).second)
|
||||
|
||||
#undef BIND1ST
|
||||
#define BIND1ST(f,x) ::boost::bind(f,x,::boost::arg<1>())
|
||||
#define BIND1ST(f,x) ::boost::bind<bool>(f,x,::boost::arg<1>())
|
||||
|
||||
#undef BIND2ND
|
||||
#define BIND2ND(f,x) ::boost::bind(f,::boost::arg<1>(),x)
|
||||
#define BIND2ND(f,x) ::boost::bind<bool>(f,::boost::arg<1>(),x)
|
||||
|
||||
void test_range()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user