int max()
	{
		if (empty()) return 0;
		if (head.empty()) 
			return tail.max();
		if (tail.empty()) 
			return head.max();
		else
			return std::max(tail.max(),head.max());
	}
Esempio n. 2
0
	T max()const { return maxOfTwo(A.max(), B.max()); }