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?
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?