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 &lt; </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&lt; </p> <blockquote> <p> karma::ostream_iterator&lt;T, Char, Traits&gt;, Properties </p> <blockquote class="citation"> <p> &amp; sink, Context&amp; context, Delimiter const&amp; d </p> </blockquote> </blockquote> </blockquote> <p> , Attribute const&amp; 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-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8529 Trac 1.4.3 cppljevans Tue, 30 Apr 2013 15:51:02 GMT attachment 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> Ticket Joel de Guzman Wed, 09 Apr 2014 02:05:49 GMT owner 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