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

Rule of 3(5) does not work when a inline definition exists #24

Open
Badhi opened this issue Jul 7, 2022 · 0 comments
Open

Rule of 3(5) does not work when a inline definition exists #24

Badhi opened this issue Jul 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Badhi
Copy link
Owner

Badhi commented Jul 7, 2022

Consider the following example

class A {
    ~A()
    {
    }
}

When the class is selected and TSCppRuleOf3 is entered, it is expected to add the Copy and assignment constructor declarations. But it does not

@Badhi Badhi added the bug Something isn't working label Jul 7, 2022
@Badhi Badhi changed the title Rule of 3(5) doe not work when a inline definition exists Rule of 3(5) does not work when a inline definition exists Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant