coolxv/cpp-stub

template class's private method stub

leeqx opened this issue · 1 comments

leeqx commented

here is an eg:

template<typename X, typename Y>
class Foo {
void foo(X x,Y y) {}
};

how to stub for foo(X x,Y y) method?

-fno-access-control //compilation option
template class A<int, double>; //Explicit instantiation

or use addr_any.h

addr_pri.h not work.