Ваші коментарі

我没编过你说的这段代码,不过按我的理解,你可以试试 Adapter adapter(adaptee); 或 Adapter *adapter = new Adapter(adaptee);