~/talk

Rule of DesDeMovA

Talkat C++Now 2019 · 2019-05-05..05-10· [c-and-cpp]
slides:none on file

Explains how C++ special member function rules actually behave using Howard Hinnant’s table and why the language sometimes gives copy semantics where you don't want them, causing slicing for polymorphic bases. Points out that declaring a destructor commonly deletes move assignment, producing types that neither copy nor move — the practical rule of destructor (DesDeMovA). Recommends when to prefer rule of zero or adopt rule of five, and when RAII managers should be move-only resource managers.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.