Inherit from an instance of template class
<p>Simple question here. I have to define classes that will contain sets of books, movies, CDs. I defined a template class, say <code>Set&lt;T&gt;</code>, with all the common methods, and then defined classes that derive from a particular instance (is it the correct term?) of the <code>Set</code> class</p>

<pre><code>class Movies_set : public Set&lt;Movie&gt;
{
    /* ... */
}
</code></pre>

<p>in which I define some other methods (say a function to search for actors). Is it a good programming technique or are there more convenient methods?</p>
