mockcpp
mockcpp copied to clipboard
It can't support to mock a global template function.
template <typename T>
void foo(T &t);
void bar()
{
MOCKABLE(foo); // compile error
struct A {}a;
foo(a);
}
Original issue reported on code.google.com by [email protected] on 4 Jun 2010 at 5:25