I thought I was familiar with template syntax until...
I'm reading "Modern C++ Design" and was comfortable with the code:
//Library Code
template <class CreationPolicy>
class WidgetManager : public CreationPolicy
{
...
};
//Application Code
typedef WidgetManager< OpNewCreator<Widget> >...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.