add functional header for std::less
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
929428bd3f
commit
b2fa89b9f9
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ namespace swig {
|
|||
|
||||
%fragment("PySequence_Base","header")
|
||||
{
|
||||
#include <functional>
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue