Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
projects:singleton_template [2015/12/21] terence [History] |
projects:singleton_template [2016/07/05] terence [Setup] |
||
---|---|---|---|
Line 42: | Line 42: | ||
* Create your own singleton class, ensuring that: | * Create your own singleton class, ensuring that: | ||
- | - You inherit from **'' | + | - You inherit from **'' |
- Your **constructor**' | - Your **constructor**' | ||
- Your **destructor** is **'' | - Your **destructor** is **'' | ||
Line 49: | Line 49: | ||
<code c++> | <code c++> | ||
class MyClass | class MyClass | ||
- | : public | + | : public |
{ | { | ||
protected: | protected: | ||
Line 62: | Line 62: | ||
//Methods go here | //Methods go here | ||
- | friend class tjgrant:: | + | friend class tSingleton< |
}; | }; | ||
</ | </ | ||
Line 126: | Line 126: | ||
* Added GitHub link to download section | * Added GitHub link to download section | ||
+ | * First public release | ||
**November 15, 2015** | **November 15, 2015** | ||
- | * First public release | + | * Created project page |