I wouldn't like remove_element to replace m_delete (at least as the recommended function); it's too long for such a common operation. The insert function isn't so critical since `[]= still works fine most of the time.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-11-11 19:44: Subject: Re: More about ADTs
Somewhat verbose, but I think that's ok for destructive operations that are expected to be used an order of magnitude more seldom than for instance plain indexing (->).
/ Niels Möller ()