Boost C++ Libraries: Ticket #8529: boost/spirit/home/karma/stream/stream.hpp comments about special overload incomplete
https://svn.boost.org/trac10/ticket/8529
<p>
The comments here:
</p>
<blockquote>
<p>
<em> this is a special overload to detect if the output iterator has been
</em> generated by a format_manip object.
template <
</p>
<blockquote>
<p>
typename T, typename Traits, typename Properties, typename Context
</p>
</blockquote>
<p>
, typename Delimiter, typename Attribute
</p>
<blockquote class="citation">
</blockquote>
</blockquote>
<blockquote>
<p>
static bool generate(
</p>
<blockquote>
<p>
karma::detail::output_iterator<
</p>
<blockquote>
<p>
karma::ostream_iterator<T, Char, Traits>, Properties
</p>
<blockquote class="citation">
<p>
& sink, Context& context, Delimiter const& d
</p>
</blockquote>
</blockquote>
</blockquote>
<p>
, Attribute const& attr)
</p>
</blockquote>
<blockquote>
<p>
{
</p>
</blockquote>
<p>
around line 153 should also indicate that this function is called, at least
sometimes, when just a stream operator is used. For example, when the
attached is run, the above method is also called despite there being
no format_manip object used.
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/8529
Trac 1.4.3cppljevansTue, 30 Apr 2013 15:51:02 GMTattachment set
https://svn.boost.org/trac10/ticket/8529
https://svn.boost.org/trac10/ticket/8529
<ul>
<li><strong>attachment</strong>
→ <span class="trac-field-new">stream_generator.cpp</span>
</li>
</ul>
<p>
causes call of generate function whose comments don't mention that possibility
</p>
TicketJoel de GuzmanWed, 09 Apr 2014 02:05:49 GMTowner changed
https://svn.boost.org/trac10/ticket/8529#comment:1
https://svn.boost.org/trac10/ticket/8529#comment:1
<ul>
<li><strong>owner</strong>
changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Hartmut Kaiser</span>
</li>
</ul>
Ticket