Remove unnecessary typename in discard_iterator