struct Vec { void *data; size_t len; size_t cap; size_t sizeof_ty; }
IntVec { struct Vec inner; int ty[0]; }
All of the methods are implemented on the base Vec type and have a small wrapper which casts/assets the type of the things you are trying to push.
All of the methods are implemented on the base Vec type and have a small wrapper which casts/assets the type of the things you are trying to push.