title: How to return a non-copyable, movable object by-value as const and store it?
body: <pre><code>class A;
  const A getA();
  </code></pre>
  
  <p>A - non-copyable, movable.</p>
  
  <p><code>getA()</code> - constructs and returns an <code>A</code>, as <code>const</code>.</p>
  
  <p>How to do this?</p>
  
  <pre><code>const A a = getA();
  </code></pre>
  
  <p>I can only do this.</p>
  
  <pre><code>const A&amp; a = getA();
  </code></pre>