title: return "this" in C++?
body: <p>In Java you can simply <code>return this</code> to get the current object. How do you do this in C++?</p>
  
  <p>Java:</p>
  
  <pre><code>class MyClass {
  
      MyClass example() {
          return this;
      }
  }
  </code></pre>