/******************************************************************************
	Dateiname:				dreck.h
	Autor:					Eric Seewald
	Datum:					07.06.2011

	Desc:					Templates
		
	compiliert:				make
******************************************************************************/

#include <iostream>

using namespace std;

template <class A>
A Maax (A a, A b, A c) {

	if ( a <= b  && b <= c )
	{
		return c;
	}
	else if ( a <= b )
	{
		return b;
	}
	else
	{
		return a;
	}

}

int main () {

	cout << "Nur INT: " << Maax(10,12,13) << endl;
	cout << "Nur DB: " << Maax(10.123,10.345,10.11) << endl;
//	cout << "INT + DB + LONG: " << max(10,12,133495782070) << endl;
//	cout << "Char + INT + DB: " << max(12,12,13) << endl;

	return 0;
}