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

conformant ref qualified overloads #393

Merged
merged 2 commits into from
Mar 31, 2025
Merged

Conversation

lia-viam
Copy link
Contributor

MSVC revealed that the way I was previously overloading member functions was not legal. In particular you can't do

struct X {
    void f(); // no ref qualifier
    void f() const& // ref qualifier
};

@lia-viam lia-viam requested a review from a team as a code owner March 25, 2025 15:02
@lia-viam lia-viam requested review from njooma and stuqdog and removed request for a team March 25, 2025 15:02
Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lia-viam lia-viam merged commit 3734b5a into viamrobotics:main Mar 31, 2025
4 checks passed
@lia-viam lia-viam deleted the fix/ref-qual branch March 31, 2025 15:42
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.

2 participants