forked from boostorg/range
Conditionally replace deprecated/removed C++98 function adapters and std::random_shuffle by equivalents.
Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
#include <boost/test/test_tools.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
namespace boost
|
||||
@@ -22,9 +21,12 @@ namespace boost
|
||||
namespace
|
||||
{
|
||||
class TestTicket5486Pred
|
||||
: public std::binary_function<int,int,bool>
|
||||
{
|
||||
public:
|
||||
typedef int first_argument_type;
|
||||
typedef int second_argument_type;
|
||||
typedef bool result_type;
|
||||
|
||||
explicit TestTicket5486Pred(int x) {}
|
||||
bool operator()(int,int) const { return true; }
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user