揭开函数适配器的面纱,编写自己的函数适配器-------小试牛刀
/*Just want to implement a function adapter*/
#include
#include
using std::string;
using std::cout;
using std::endl;
template
class GT{
public:
typedef bool return_type ; //STL的思想
typedef T a
原创
2013-09-16 17:25:17 ·
682 阅读 ·
0 评论