title: Passing std::string by Value or Reference
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10231349/are-the-days-of-passing-const-stdstring-as-a-parameter-over">Are the days of passing const std::string &amp; as a parameter over?</a>  </p>
  </blockquote>
  
  
  
  <p>Should I pass <code>std::string</code> by value or by reference (to a un-inlined function) if move semantics is supported? And what about implementations using small string optimization (SSO)?</p>