Hacker News new | ask | show | jobs
by spoiler 1096 days ago
> Not necessarily, although it's a bit complicated to understand in C++.

One could say this statement applies to most lines of C++ code. Lol

1 comments

Indeed :)

Makes me appreciate the explicit copy() and ref semantics in Rust.

Although I bet in most cases such a method gets inlined so it doesn't matter.