title: Is pass-by-value a reasonable default in C++11?
body: <p>In traditional C++, passing by value into functions and methods is slow for large objects, and is generally frowned upon. Instead, C++ programmers tend to pass references around, which is faster, but which introduces all sorts of complicated questions around ownership and especially around memory management (in the event that the object is heap-allocated)</p>
  
  <p>Now, in C++11, we have Rvalue references and move constructors, which mean that it's possible to implement a large object (like an <code>std::vector</code>) that's cheap to pass by value into and out of a function.</p>
  
  <p>So, does this mean that the default should be to pass by value for instances of types such as <code>std::vector</code> and <code>std::string</code>? What about for custom objects? What's the new best practice?</p>