#include <iostream>
using namespace std;
class Display{
public:
void operator() (std::string strin)const {
std::cout << strin << std::endl;
}
};
int main()
{
Display f;
f ("hello, world!");
return 0;
}
operator
最新推荐文章于 2025-03-22 22:37:35 发布