小东 · 2005-03-12 15:26:40 · 阅读: 315 C++中这种是怎么实现的? class A: def __call__(self): return "OK"; print a() ---------------------------- OK