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

Problem resolving funny C++ constructs #79

Open
linuswagner opened this issue Jan 4, 2024 · 1 comment
Open

Problem resolving funny C++ constructs #79

linuswagner opened this issue Jan 4, 2024 · 1 comment

Comments

@linuswagner
Copy link
Collaborator

linuswagner commented Jan 4, 2024

If you try to parse

template<typename _Res, typename _T1, typename _T2 , bool _NE>
    struct _Reference_wrapper_base<_Res(*)(_T1, _T2) noexcept (_NE)>
    : binary_function<_T1, _T2, _Res>
    { };

(part of the pre-processor output of refwrap.h)

you get an element
|problem:///f5ef9aee-b8a9-4a9c-83a7-4db94d180f09?message=Attempt%20to%20use%20symbol%20failed:%20|
in the declared elements in the M3 (and some other, to be expected, problems, but this is a result of the snippet being incomplete).
The problem refers to the *, which at other places can also occur like _Tp::* where typename _Tp

@jurgenvinju
Copy link
Member

Let's have a look together. Thanks @linuswagner for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants