Remove inheritance from std::unary_function and std::binary_function,

they are deprecated in C++11 and already removed in Visual C++ '15'
running with /std:c++latest

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3145.html
This commit is contained in:
Anthony Heading 2016-12-29 00:56:46 -05:00
commit 1871acd4bc
4 changed files with 9 additions and 9 deletions

View file

@ -68,7 +68,7 @@ namespace swig {
namespace std {
template <>
struct less <octave_value>: public binary_function<octave_value, octave_value, bool>
struct less <octave_value>
{
bool
operator()(const octave_value& v, const octave_value& w) const