bool operator == ( const MyCar& car ) const;
bool operator != (const MyCar& car) const { return !(*this == car); }
bool operator == ( const MyCar& car ) const;
bool operator != (const MyCar& car) const { return !(*this == car); }
bool MyCar::operator == ( const MyCar& car ) const
{
if (m_data.get() == car.m_data.get()) return true;
bool MyCar::operator == ( const MyCar& car ) const
{
if (m_data.get() == car.m_data.get()) return true;