Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Ostream operators << for SFML classes  (Read 9434 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Ostream operators << for SFML classes
« Reply #15 on: March 20, 2014, 10:04:15 am »
Ok, this approach looks better than overriding operator << for standard streams. It could be improved, for example by inheriting from std::ostream, which would automatically allow everything that defines a standard operator <<.

I have to think more about it.
Laurent Gomila - SFML developer