Skip to content

[question] friend function defined within class? #86

Open
@harsszegi

Description

@harsszegi

Hi,
does CppAst support friend functions defined within the class itself? E.g. something like this:

class Foo
{
public:
friend bool operator==(const Foo & lhs, const Foo & rhs);
};

I fail to see the operator== function anywhere, neither within the class's functions (that's kinda obvious), nor between the functions in the namespace.
What do I miss here?
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions