Created
April 30, 2018 10:11
-
-
Save den385/8eb5f647d578d35f414029458f10009a to your computer and use it in GitHub Desktop.
This file contains 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 X { | |
X(Sometype); // "ordinary constructor" | |
X(); // default constructor | |
X(const X&); // copy constructor | |
X(X&&); // move constructor | |
X& operator=(const X&); // copy assignment: clean up target and copy | |
X& operator=(X&&); // move assignment: clean up target and move | |
~X(); // destructor: clean up | |
// ... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment