~/talk

“Modern C++ Interfaces..."

Talkat CppCon 2017 · 2017-09-24..09-29· [compilers-and-language-design]
links:none on file
slides:none on file

Argues that richer C++ features produce simpler, more robust interfaces by embedding policy and judgment into code; demonstrates replacing a naive memcpy with staged implementations selected by type traits (is_trivially_copyable, nothrow copy) and constexpr if to allow mutually incompatible branches to compile; shows SFINAE-based DWIM interfaces using enable_if and return-type tricks; builds a small toolkit of composable template AST evaluated at compile time (variable templates, fold expressions, operator-overloaded predicate trees) to generate SFINAE constraints — code and slides on the CppCon2017 GitHub.

AI-written summary · about

  1. 0:00Introduction and evolution
  2. 2:31Embedding experience in code
  3. 10:47Simplifying interfaces with constexpr
  4. 17:55SFINAE and interface constraints
  5. 27:01Universal references and intent
  6. 33:11Distributed organic interfaces
  7. 43:06Complex constraints and predicates
  8. 48:07C++ complexity and future
  9. 51:54Q&A and closing
~/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.