Skip to content

Problem resolving funny C++ constructs #79

Description

@linuswagner

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions