#include #include "SillyT.h" using namespace std; double DoubleIt(int a, int b) { return static_cast(a)/static_cast(b); } SillyT::operator double() const{ return DoubleIt(a,b); } int SillyT::GetA() const { b= 7; return a; } void SillyT::ChangeA(int val){ a = val; }