Beispiel #1
0
	//-----------------------------------------------------------------------------------------------------------------
	// copy constructor
	//-----------------------------------------------------------------------------------------------------------------
	queue::queue(const queue& x)
		:list()
	{
		list::iterator r_it = x.begin();
		push(*r_it++);
		while (r_it != x.begin())
			push(*r_it++);
	}