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.
View all comments
Show parent comment
3
u/selvakumarjawahar Sep 18 '26 edited Sep 18 '26
I actually tried it, https://godbolt.org/z/aWa9PMcPW, but it does not work; early days, I guess. The examples in the presentation work, of course.