On Mar 22, 9:59 am, Adrian Hawryluk wrote:
>
> I agree with everything but the function body. You forgot to return the
> ostream ;) like this:
>
> return o
> << static_cast(emp)
> << std::endl << "Started: " << emp.m_startDate
> << " Role: " << emp.m_job << "Dept: " << emp.m_department
> << std:: endl; << "Salary: " << emp.m_salary << std::endl;
>
> But I'm sure that was just an oversight.
Yep. Thanks for catching it. :-)
|