Posted by Daniel Longest on March 25, 2001 at 20:37:41:
In Reply to: Re: Adding and sorting question posted by Nathan on March 25, 2001 at 19:48:01:
To me, if the array should keep things in sorted order, the job of doing inserts/deletes in the right spot falls to the array (as that is stated in the description of how the array functions). It is entirely possible to let the database deal with the sorted order issue depending on your thoughts though.
: I think I will assume that the wording shoud be "manage insertions and deletions AND preserve the correct ordering" since the template is supposed to overload the < and == operators, which will need to be done during the search comparison... Does this sound correct?
Post a Followup