title: Will initializing a const reference argument fom a default argument result in a dangling reference?
body: <pre><code>void foo(const std::string&amp; s = "abc") {
      // ...
  }
  
  // ...
  
  int main() {
      // ...
      foo();
      // ...
  }
  </code></pre>
  
  <p>Will <code>s</code> in <code>foo</code> be dangling? I think because <code>std::string</code> will be constructed from default value <code>"abc"</code>, and then this will be a const reference do died temporary.</p>
  
  <p>Am I right?</p>