We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
struct S; struct T { int S::* s_mptr; int T::* t_mptr; static int T::* static_mptr; template<int S::*> void f(); template<int T::*> void f(); template<int (S::*)()> void f(); template<int (T::*)()> void f(); struct N { int S::* s_mptr; int T::* t_mptr; int N::* n_mptr; }; int N::* n_mptr; }; int T::* T::static_mptr = 0; template<int T::*> void T::f() {} template<int (T::*)()> void T::f() {}
is transformed into
struct S; struct T { int S::* s_mptr; int * t_mptr; static using MemberVarPtr_7 = int *; MemberVarPtr_7 static_mptr; template<int S::* > void f(); template<int * > void f(); template<int (S::*)() > void f(); template<int (*)() > void f(); struct N { int S::* s_mptr; int * t_mptr; int * n_mptr; }; int N::* n_mptr; }; using MemberVarPtr_23 = int T::*; MemberVarPtr_23 static_mptr = 0; template<int T::*> void T::f() {} template<int (T::*)()> void T::f() {}
All pointers to members of T (T::N) inside T (T::N) body became ordinary pointers to objects or functions. Out-of-line definitions are OK.
T
T::N
The text was updated successfully, but these errors were encountered:
Hello @languagelawyer,
thanks for reporting this issue. It looks like my brute-force approach of remove unwanted namespaces was too much. A fix is on its way.
Andreas
Sorry, something went wrong.
239ecbe
Merge pull request #375 from andreasfertig/fixIssue374
040545e
Fixed #374: Do not remove namespace for member pointers.
No branches or pull requests
is transformed into
All pointers to members of
T
(T::N
) insideT
(T::N
) body became ordinary pointers to objects or functions. Out-of-line definitions are OK.The text was updated successfully, but these errors were encountered: