Deal with OutputIterator's reference type being void