Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template class's private method stub #18

Open
leeqx opened this issue Sep 27, 2021 · 1 comment
Open

template class's private method stub #18

leeqx opened this issue Sep 27, 2021 · 1 comment
Labels

Comments

@leeqx
Copy link

leeqx commented Sep 27, 2021

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?

@coolxv
Copy link
Owner

coolxv commented Sep 29, 2021

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

or use addr_any.h

addr_pri.h not work.

@coolxv coolxv added the addr label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants