Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cpp_noob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
cpp_noob
2y ago
struct Person { string name; uint8_t age; }; isn't this missing a move constructor? Person::Person(Person&& p) : name(std::move(p.name)), age(p.age) {} or is C++ able to make these implicitly now?