title: c++ taking address of temporary
body: <p>I've simple class method like</p>
  
  <pre><code>Task TaskSample::Create(void)
  {
      Task task;
      return task;
  }
  </code></pre>
  
  <p>and got warning taking address of temporary. Is something wrong with this code ?
  I prefer to not use pointer here</p>