You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing something that looks a bug. I need to make space inside an array-based list , so I'm using _insert_v method to create some new initialized entries. As I understand from the documentation and from a quick view on the code: it should manage the case when the reserved/allocated space in the list is insufficient to support the insertion.
I'm facing something that looks a bug. I need to make space inside an array-based list , so I'm using
_insert_v
method to create some new initialized entries. As I understand from the documentation and from a quick view on the code: it should manage the case when the reserved/allocated space in the list is insufficient to support the insertion.Something like this works:
Instead this doesn't:
Is it a bug?
In my original code I'm facing assertion violations on the contract clause:
v->size <= v->alloc
.The text was updated successfully, but these errors were encountered: