~/talk

Emulating Rust's Borrow Checker in C++

Talkat C++Now 2017 · 2017-05-15..05-20· [rust, c-and-cpp]
links:none on file
slides:none on file

A header-only C++ library demonstrates how templates, RAII and move semantics can emulate Rust’s borrow checker to enforce exclusive borrows and prevent mutable aliasing at compile time. It uses template metaprogramming, constexpr checks and a few annotations to plug into existing types, catching use-after-move and ownership violations during compilation with no 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.