Created
December 1, 2021 01:21
-
-
Save LucianoPAlmeida/dc795359d5d23ac35dded681c3caf6ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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