mockcpp icon indicating copy to clipboard operation
mockcpp copied to clipboard

It can't support to mock a global template function.

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

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

GoogleCodeExporter avatar Mar 28 '15 22:03 GoogleCodeExporter