remove method

bool remove (E element)

Removes an element that compares equal to element in the queue.

Returns true if an element is found and removed, and false if no equal element is found.

Implementation

bool remove(E element);