~/talk

Standard Library Compatibility Guidelines (SD-8)

Talkat CppCon 2018 · 2018-09-23..09-28· [compilers-and-language-design]
slides:none on file

A new standing document SD-8 records that the committee reserves the right to add names, members, overloads, default arguments and change return types in <std>, so code that: injects symbols into std, uses using namespace std, makes unqualified snake_case calls (hit by argument-dependent lookup), forward-declares std types, takes addresses of std functions, or defines iostream/hash for std types risks build breaks, ODR hell, or silent behavioral changes; Clang-Tidy checks and Abseil-style compatibility rules are planned to help.

AI-written summary · about

  1. 0:00Introduction and upgrade challenges
  2. 7:51SD-8 overview and purpose
  3. 11:43Adding names to std namespace
  4. 20:46ADL and unqualified calls
  5. 28:04New methods and overloads in std
  6. 35:01ODR violations and operator overloads
  7. 45:53Hyrum's Law and future direction
  8. 52:27Q&A session
~/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.