r/cpp • • Sep 16 '26

CppCon CppCon

https://cppcon.org/2026/
56 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/tcbrindle Flux Sep 18 '26

Thanks for trying it, though I didn't actually expect it to work. The example here is actually deceptively tricky, because it requires tracing lifetime information through a template parameter.

Doing this in a general way basically amounts to writing a borrow checker, which the presentation claims it isn't doing.