r/cpp • • Oct 24 '24 • Take My Silver 1

Why Safety Profiles Failed

https://www.circle-lang.org/draft-profiles.html
180 Upvotes

347 comments sorted by

View all comments

Show parent comment

4

u/Nickitolas Oct 26 '24

> Conclusion: it does not leak unsafety.

It's not really clear to me from your explanation how this is supposed to work and in which location/s the compiler errors. Could you provide some examples? Ideally 4, for the full matrix of "func allows/does not allow aliasing" and "the caller passes in an aliasing/non-aliasing pair of parameters"