mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Remove unnecessary reference to deprecated std::unary/binary_function in test.
This test will only fail for obsolete versions of Metrowerks compilers which are probably no longer supported anyway.
This commit is contained in:
@@ -16,12 +16,10 @@
|
|||||||
// of these in overloaded function templates.
|
// of these in overloaded function templates.
|
||||||
// See boost/functional.hpp for example.
|
// See boost/functional.hpp for example.
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
namespace boost_no_pointer_to_member_const{
|
namespace boost_no_pointer_to_member_const{
|
||||||
|
|
||||||
template <class S, class T>
|
template <class S, class T>
|
||||||
class const_mem_fun_t : public std::unary_function<const T*, S>
|
class const_mem_fun_t
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit const_mem_fun_t(S (T::*p)() const)
|
explicit const_mem_fun_t(S (T::*p)() const)
|
||||||
@@ -37,7 +35,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <class S, class T, class A>
|
template <class S, class T, class A>
|
||||||
class const_mem_fun1_t : public std::binary_function<const T*, A, S>
|
class const_mem_fun1_t
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit const_mem_fun1_t(S (T::*p)(A) const)
|
explicit const_mem_fun1_t(S (T::*p)(A) const)
|
||||||
|
Reference in New Issue
Block a user