2 ms·
It will likely link, since both clang and gcc will perform RVO on bar(), so the copy constructor won't be called.
by nowne 10y ago
It will likely link, since both clang and gcc will perform RVO on bar(), so the copy constructor won't be called.