| (↓)
Comment: |
|
Regular Note |
#include <iostream>
struct ShowCpp : public std::unary_function<void,std::string>
{
public:
typedef std::unary_function<void,std::string> BaseClass;
void operator ()(const std::string& words) {
std::cout << words << std::endl;
}
};

