19 years ago
Highlights
I want my global operator new to do it's stuff and then call whatever is supplied by the system (i.e. default new, other overloaded global new operators, class specific new oper…
19 years ago
Hello All I overloaded the global operator new to act in a certain manner when provided with additional arguments. class key{}; void* operator new(size_t sz, key&) { //do some s…
19 years ago
19 years, 10 months ago
If I understand your goal correctly then what you're trying to achieve can be done using a handle class:template<class T> class singleton_handle{ T* get() { static T k_val…
19 years, 10 months ago
Latest Activity
I want my global operator new to do it's stuff and then call whatever is supplied by the system (i.e. …
19 years ago
Hello All I overloaded the global operator new to act in a certain manner when provided with additional arguments. class …
19 years ago
If I understand your goal correctly then what you're trying to achieve can be done using a handle class:template<class T> …
19 years, 10 months ago