Skip to content

operator overloading is confusing to students #1095

@zhytkovd

Description

@zhytkovd

Add an explanation in the book about the & operator in the friend function.

Example:
friend ostream & operator << (ostream & stream, const Fraction & frac)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions