Skip to content

[over.oper.general] Clarify operator functions being inherited from base classes #6973

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Eisenwave
Copy link
Member

It is not entirely clear what "inheriting" base class functions means here. It could refer to:

  • Inheriting member functions through a using-declaration.
  • Operator overloads of base classes being looked up.

Judging from the context, I think it refers to the latter. This edit clarifies that by adding a reference to [class.member.lookup].

I also find "base class functions" a little bit unconventional. We probably want to say "member functions" here.

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

Successfully merging this pull request may close these issues.

1 participant