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

Remove default destructors/constructors #3

Closed
kittobi1992 opened this issue Nov 13, 2019 · 1 comment
Closed

Remove default destructors/constructors #3

kittobi1992 opened this issue Nov 13, 2019 · 1 comment
Assignees
Labels
refactor code needs to be refactored

Comments

@kittobi1992
Copy link
Member

No description provided.

@kittobi1992 kittobi1992 added the refactor code needs to be refactored label Nov 13, 2019
@kittobi1992 kittobi1992 self-assigned this Nov 13, 2019
@kittobi1992
Copy link
Member Author

I could not delete all default move/copy default constructors/destructors. According to the c++ standard e.g. a move constructor is only defaulted if all of the following conditions are true:

  • there are no user-declared copy constructors;
  • there are no user-declared copy assignment operators;
  • there are no user-declared move assignment operators;
  • there are no user-declared destructors;

Closing Issue:
12872e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor code needs to be refactored
Projects
None yet
Development

No branches or pull requests

1 participant