It is a bad idea to define conversion operators for Sales_data
class, they should be defined as oridinary member functions to describe their usages.
If we must define them, then they should be defined as explicit
to avoid surprising results.
It is a bad idea to define conversion operators for Sales_data
class, they should be defined as oridinary member functions to describe their usages.
If we must define them, then they should be defined as explicit
to avoid surprising results.