tree::erase


template <class k,class t,class compare,class less>
void tree<k,t,compare,less>::erase(const k& key)

This method removes the given entry.

Parameters

const k& key

The entry to be removed.

Notes

An exception is thrown if the entry does not reside in the tree.