title: C++ Inheritance "toString"
body: <p>I have 2 c++ classes where one is a base class of the other (public inheritance). I have the &lt;&lt; operator overload done in both. What I want is to use &lt;&lt; of the sub class with the &lt;&lt; of the base class.</p>
  
  <p>It's that possible?</p>
  
  <p>I mean, imagine that base class &lt;&lt; overload print's "Hi, my name is Rui" and I want that sub class &lt;&lt; overload prints "Hi, my name is Rui\nIt's sunny today".</p>
  
  <p>Thanks</p>