title: Join vector of strings to std::ostream (like boost::join)
body: <p>I have a vector of strings and I want output it to stream (file stream, actually). And I want to have a delimiter between vector elements. There is a way to use standard <code>ostream_iterator</code></p>
  
  <pre><code>std::vector &lt;std::string&gt; strs;
  std::ostream_iterator&lt;std::string&gt; out_file_iterator ( out_file, delim );
  std::copy ( strs.begin(), strs.end(), out_file_iterator );
  </code></pre>
  
  <p>I didn't like this way because there is a <code>delim</code> text after <i>each</i> element, but I don't need to have a <code>delim</code> after last element. I'd like to use something like <code>boost::join</code>. However <code>boost::join</code> returns string and my vector too large to output it to string. </p>
  
  <p>What is most elegant way to achieve my goal?</p>