~/talk

You must type it three times

Talkat C++Now 2017 · 2017-05-15..05-20· [c-and-cpp]
slides:none on file

Library wrappers require copying the function body three times to get correct noexcept, decltype(auto) return type and SFINAE friendliness; the talk shows a practical workaround using a returns macro that leverages the comma operator to expand into noexcept, decltype and return but breaks for compound statements and lambdas in unevaluated contexts. It explains the limitations, shows why abbreviated lambda syntax proposals (eg abbreviated lambda syntax) would avoid the repetition, and proposes compiler splitting rules to generate the triplication automatically.

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.