T
ThazKool
Is there an elegant/efficient way to use a typedef of a class passed in
to a template parameter. I know that a second template parameter can
be given, but I was wondering if there is any way to avoid that.
Thanks,
ThazKool
to a template parameter. I know that a second template parameter can
be given, but I was wondering if there is any way to avoid that.
Thanks,
ThazKool
Code:
template< class T >
class BTree
{
public:
void Query( T::Type value );
void Update( T::Type value, T::Type update );
void Delete( T::Type value );
void Insert( T node );
unsigned int Count() { return _count; };
private:
unsigned int _count;
};