So you're saying any function that has a container parameter (map, list, vector, etc) and any other reference or pointer parameter that could alias into that container, which calls a method on the container won't compile under the Safety profile unless an annotation is added to it?
View all comments
Show parent comment
3
u/Nickitolas Oct 26 '24
So you're saying any function that has a container parameter (map, list, vector, etc) and any other reference or pointer parameter that could alias into that container, which calls a method on the container won't compile under the Safety profile unless an annotation is added to it?