class PTT;class PTEST{public:PTEST(int ip = 0) :val(ip){}PTEST(const PTT&);private:int val;};class PTT{public:PTT(int ptt = 0) :val(ptt){}operator PTEST() const{PTEST P1(val);return P1;}int val;};PTEST::PTEST(const PTT &p) :val(p.val){}void compute(PTEST p){}int main(){PTT p1;//PTT& ptr = p1;compute(p1);return 0;}