Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Who coined the term unified (or unifying) assignment operator?
  2. String & operator = (String s) // the pass-by-value parameter serves as a temporary
  3. {
  4.    s.swap (*this); // Non-throwing swap
  5.    return *this;
  6. }