Keyword `new` in combination with `auto`

38 views Asked by At

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?

0

There are 0 answers