~/lightning

Constraints not Satisfied

Lightningat C++Now 2022 · 2022-05-01..05-06· [c-and-cpp]
links:none on file
slides:none on file

Shows library techniques that work around C++20 limitations: passing concepts by wrapping them in lambda-wrapped concepts so static_assert and requires can be evaluated at call time, adding an always-true anything concept, and implementing concept negation via a macro that invokes the lambda. Demonstrates constrained function-parameter matching using an implicit conversion operator plus macros, and sketches a type-erased "virtual concept" proposal; all pieces are implemented as library tricks and reported to compile and behave as intended.

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.