In Alexandrescu's book there is a piece of code that really confuses me.
template <template <class Created> class CreationPolicy>
class WidgetManager : public CreationPolicy<Widget>
{
...
};
As far as I can tell its a template class within a template. So we accept 'Created' and make it into CreationPolicy class and then publicly inheritting WidgetManager from newly created CreationPolicy class. How is that even possible? Am misinterpreting something here?