- My approach of tying the allocation mechanism to the type of the object in the vector does not work -- as the SSA guys can attest to now they've started using it. Danny and I have talked about this on IRC, and have settled on something like
rather than the current and associated calls. In C++ template speak, the allocation mechanism would always have been a separate template parameter, but it wouldn't have needed specifying at the calls due to the deduction mechanism. We've deferred this change to post 4.0, and would obviously like to get it into 4.1. I don't think this'll be more than a couple of days work -- we're pretty confident of what we need now, and it's a matter of implementing it in the header file and adjusting all the current callers.
- VEC_insert (TYPE, ALLOC, ...)
None: Redesign_VEC_API (last edited 2008-01-10 19:38:43 by localhost)