lkjjfowjflasdf's comments

lkjjfowjflasdf | 4 years ago | on: Const all the things?

> Do pass expensive types by const reference.

Consider `foo(T t)` where `foo` takes ownership of `T` and allows move semantics, but there is risk of copy if `t` is not an r-value reference.

page 1