What is the correct/best way to include a template class within another class? Thanks.
I have the following:
and want to include it in another class:Code:template <typename HashedObj>
class HashTable
{
...
Code:class DisjointSets
{
public:
friend class HashTable; //This does not work
...