#include
template

class f{

private:T x,y;

public:void f1(T a,T b){x=a;y=b;}

T max( ){retum(x>y)?x:y;}

};

void main( ){

f a;

a.f1(1.5,3.8); ’

cout<<><><>< p="">}
出自:河南财经大学数据库基础与应用