class IEmployeeServiceProxy { public: virtual ~IEmployeeServiceProxy() { } virtual void AddEmployee(const Employee&) = 0; virtual int GetEmployees(std::v
The Git version (most recent one) has an option for Out parameters which are pretty much this. To use
std::vector args; args.push_back(1); args.push_back(2); mocks.ExpectCall(mock, IInterface::function).With(Out(arg));