src/utils/objectstorage.h
/** Removes association.
         * @param key Key of the value.
         *
         * Gets value of the key and removes association from mapping.
         * <br>
         * This method doesn't invalidate interators, except one which points
         * to the removed element.
         *
         * @return Value of the key or 0 if not found (and not removed).
         */
Removes association.
@param key Key of the value.

Gets value of the key and removes association from mapping.

This method doesn't invalidate interators, except one which points
to the removed element.

@return Value of the key or 0 if not found (and not removed).
Removes association . @param key Key of the value . Gets value of the key and removes association from mapping . This method doesn ' t invalidate interators except one which points to the removed element . @return Value of the key or 0 if not found ( and not removed ) .
V remove(K key)
        {
                Iterator iter=mapping.find(key);
                if(iter==mapping.end())
                        return 0;
                V old=get(key);
                mapping.erase(key);
                return old;
        }
V remove ( K key ) { Iterator iter = mapping . find ( key ) ; if ( iter == mapping . end ( ) ) return 0 ; V old = get ( key ) ; mapping . erase ( key ) ; return old ; }
Removes association.
Removes association .
// association not found // gets old value and // removes association