2013-10-02 40 views

回答

3

爲了消除重載,你必須將它們強制轉換(或強制)爲正確的類型。這應該工作:

boost::bind(static_cast<bool (Syntax::*)(const std::string&)>(&Syntax::removeTarget), this, _1); 
相關問題