~/talk

C++ Type Traits Without Compiler Intrinsics - The Promise of Static Reflection in C++

Talkat C++Online 2025 · 2025-02-26..02-28· [c-and-cpp, compilers-and-language-design]
slides:none on file

Argues that C++ static reflection (C++26 value‑based meta::info and the uni‑brow reflection operator) makes many existing type traits implementable without compiler intrinsics, showing a proof‑of‑concept (Gobbolt, Bloomberg/Clang) and experimenting with Microsoft Copilot for code generation. Maps trait implementations across MSVC (≈ one third template, rest intrinsics), Clang (mostly intrinsics), and GCC (between), and claims this could yield a more portable standard library and simpler trait maintenance.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:33Speaker introduction
  3. 3:07Introduction to type traits
  4. 11:18Template-based implementation
  5. 20:17Compiler-internal implementation
  6. 28:36Analysis of current challenges
  7. 32:47Static reflection in C++26
  8. 43:57Discarded type-based reflection
  9. 45:29Reflection-based type traits
  10. 53:40Summary and future prospects
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.