MOCK_METHOD1(GetSize, int(const map<int, std::string>& m));
You still need a typedef if the return type contains an unprotected comma, but that's much rarer."Cheers,Puya
typedef