#include<iostream>
#include<string>
#include<functional>
using namespace std;
template < typename funcobject , typename type >
bool unaryfunc( funcobject fob , const type &val )//返回值不对
{
return fob( val );
}
void main()
{
string str = "poor";
bool sr = unaryfunc( bind2nd( equal_to <string >() , string( "pooh" ) ) , str );
}