std::ostream_iterator. 
More...
#include <more/gen/iterator.h>
std::ostream_iterator.
This iterator places the string argument between value rather than after. The rationale is that this is a common case, and a separator at the end can easily be inserted added, but redundant separator can not be removed from the stream. This class also extends std::ostream_iterator by allowing the width and precision to be specified.
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Construct an iterator which prints values separated with sep to os. Before each value, set width and precision on os if given.  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  ||||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  ||||||||||
| 
 
  |