Ad
  • Default User Avatar

    @hobovsky
    I have defined that operator for my type and it still does not work.

    Edit: it did not work because I had other mistakes in my code (mainly to do with const qualifiers of functions). Once my code started working I removed the operator<< definition and started getting errors connected it. Thank you for the suggestion.

  • Default User Avatar

    One of a few people who made this function accept the vector by reference instead of by copy.

  • Default User Avatar

    I should have noticed that.
    My bad.

    Edit: done.
    Thanks for the reply!

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution