Created
October 14, 2013 02:12
-
-
Save caseybrichardson/6969682 to your computer and use it in GitHub Desktop.
Small template example.
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
template <class T> | |
class someClass{ | |
private: | |
T data; | |
public: | |
T getData() {return data;} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment