Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lkjjfowjflasdf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
lkjjfowjflasdf
5y ago
https://digitalmars.com/d/archives/digitalmars/D/Transitive_...
2.
▲
by
lkjjfowjflasdf
5y ago
> 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.