Skip to content

Instantly share code, notes, and snippets.

@LucianoPAlmeida
Created December 1, 2021 01:21
Show Gist options
  • Save LucianoPAlmeida/dc795359d5d23ac35dded681c3caf6ed to your computer and use it in GitHub Desktop.
Save LucianoPAlmeida/dc795359d5d23ac35dded681c3caf6ed to your computer and use it in GitHub Desktop.
class A {
int member{};
public:
A(A&&) = default; // Explicitly tell the compiler to generate member-wise move constructor;
~A() {}; // User defined destructor;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment