Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple question about template and class

Status
Not open for further replies.

DotNetGnat

Programmer
Mar 10, 2005
5,548
IN
Guys,

I tried something like this:
Code:
template <class Type>
class dblLinkList
{
	public:
		dblLinkList(); 
		~dblLinkList(); 
	private:
		struct Node
		{
			Type info;
			Node<Type> *next;
			Node<Type> *back;
		};
		static bool bAllowDuplicates;
		static stcdata<Type> *first;
		static bool bIsAscending;
};

Is this correct way of doing it...I am getting lot of errors...

thanks

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top