#include<iostream.h>
#include<LINK/basic/List.h>

#define DEFINE_TEMPLATE
#include<LINK/basic/DList.h>
#undef DEFINE_TEMPLATE

// Iterator and Container templates for element type List<int> are 
// already instantiated in basicTemplate.cc.  However, DList<List<int> >
// still needs instantiation.

template class DList<List<int> >;

main()
{
	DList<List<int> > dl;
	List<int> l;

	l.insert(5);
	l.insert(4);
	l.insert(3);

	dl.insert(l);
	dl.insert(l);

	cout << dl << endl; 
}
