I found some example of template in Modern C++ Design by A. Alexenderscu
where author used following lines
template
<
class T,
template <class> class CheckingPolicy // <---- Please explain this line
>
class SmartPtr : public CheckingPolicy<T>
{
...
template
<
class T1,
template <class> class CP1,
>
SmartPtr(const SmartPtr<T1, CP1>& other)
: pointee_(other.pointee_), CheckingPolicy<T>(other)
{ ... }
};
i do not understand meaning of in marked line. Please explain that line