title: How expensive is to copy an std::function?
body: <p>While <code>std::function</code> is movable, in some cases it's not possible or not convenient. Is there a significant penalty for copying it?</p>
  
  <p>Does it possibly depend on the size of the captured variables (if it was created using a lambda expression)? Is it implementation dependent?</p>