title: Disadvantage of using lambda default capture by value or reference in C++11?
body: <p>What are the pitfalls of using lambda default capture by value (<code>[=]</code>) or by reference (<code>[&amp;]</code>) in C++11?</p>
  
  <p>I know some pitfalls like:</p>
  
  <ul>
  <li>If the lifetime of a closure created from the lambda exceeds the lifetime of the local variable, the reference in the closure will be dangling?</li>
  </ul>
  
  <p>Does default capturing by value have any disadvantages? </p>