Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Audrius u (talk | contribs)
m fixed variable types in 'object counter' sample
Line 71:
--objects_alive;
}
static intunsigned long objects_created;
static intunsigned long objects_alive;
};
template <typename T> unsigned long counter<T>::objects_created( 0 );