~/lightning

Lightning Talk: From Wide to Wrong - Spotting Dangerous Conversions in C++

Lightningat C++ on Sea 2025 · 2025-06-23..06-25· [software-architecture]
links:none on file
slides:none on file

Provides a compile-time hard check that rejects unsafe narrowing when calling functors by wrapping functor parameter types in C++11-compatible wrapper types and forcing overload-resolution ambiguity for any forbidden conversion, so users get a compiler error instead of wrong runtime results. Targets embedded projects that cannot rely on -Wconversion or external static analysis. Implementation extracts functor parameter types, synthesizes dummy calls that are optimized away, and demonstrably produces compilation errors without runtime overhead.

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.