2

What does

new (&as_string) auto(other.as_string);

do where as_string is an std::string object? I see that auto(other.as_string) constructs a new copy of other.as_string but what does the (&as_string) causes in combination with the new?

abraham_hilbert
  • 2,221
  • 1
  • 13
  • 30

0 Answers0