3 ms·It might compile, but it won't link.by gliptic 10y agoIt might compile, but it won't link.nowne 10y agoIt will likely link, since both clang and gcc will perform RVO on bar(), so the copy constructor won't be called.