News for hackers. Stuff that matters.
Re:My Most Important C++ Aha Moments (2006) by gliptic on Sunday June 26, 2016 @08:48AM (#11980542)
It might compile, but it won't link.
Re:My Most Important C++ Aha Moments (2006) by nowne on Sunday June 26, 2016 @11:54AM (#11981286)
It will likely link, since both clang and gcc will perform RVO on bar(), so the copy constructor won't be called.