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

@ -38,7 +38,7 @@
namespace swig {
template < class T >
struct yield : public std::unary_function< T, bool >
struct yield
{
bool
operator()( const T& v ) const