Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@664 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
2a5dc20f8a
commit
3b31e3dc78
1 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
// For more information, see http://www.boost.org
|
// For more information, see http://www.boost.org
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -50,6 +52,9 @@ report_error( const char* msg, const char* file, int line, bool is_msg = false )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef LOKI_FUNCTORS_ARE_COMPARABLE
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
int global_int;
|
int global_int;
|
||||||
|
@ -799,3 +804,11 @@ int main()
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#else // #ifndef LOKI_FUNCTORS_ARE_COMPARABLE
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue