~/talk

Seventeenification: Porting sqlpp11 to C++17

Talkat CppCon 2017 · 2017-09-24..09-29
links:none on file
slides:none on file

Report on porting sqlpp11 to C++17: actual code changes replace kludgy constexpr char arrays with inline variables and auto non-type template parameters, simplify tag-dispatch into if constexpr and return-type deduction, and use fold expressions for type-set logic. std::string_view and std::optional replace expensive string copies and ad-hoc runtime variants. Result is much simpler code, fewer templates, improved type safety, and a measured compile-time speedup (simple test shows about 4x faster).

AI-written summary · about

  1. 0:00Start
  2. 6:38C + + 17
  3. 8:57Character Sequence
  4. 14:46Expert and Class Template Deduction
  5. 23:04Proxy Functions
  6. 26:21What To Do with the Return Types
  7. 29:45Print Tuple Members as Comma Separated List
  8. 40:44Dynamic Selector
  9. 46:54Summary
  10. 48:51Questions
~/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.