From: Jason Hise (chaos_at_[hidden])
Date: 2005-03-09 20:14:18


Reid Sweatman wrote:

>Not the kind of thing I meant, but then, I wasn't too specific. Also, I
>guess I don't know the technique being mentioned. Is the first "cpp" a
>scope?
>
in context, it would look like:

template < typename T >
class boost
{
};

class cpp : boost < cpp >
{
};

It is known as the curiously recurring template pattern (CRTP).

-Jason