[Boost-bugs] [Boost C++ Libraries] #8529: boost/spirit/home/karma/stream/stream.hpp comments about special overload incomplete

Subject: [Boost-bugs] [Boost C++ Libraries] #8529: boost/spirit/home/karma/stream/stream.hpp comments about special overload incomplete
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-30 15:45:12


#8529: boost/spirit/home/karma/stream/stream.hpp comments about special overload
incomplete
-----------------------------------+----------------------------------------
 Reporter: cppljevans | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.52.0 | Severity: Cosmetic
 Keywords: karma stream comments |
-----------------------------------+----------------------------------------
 The comments here:

         // this is a special overload to detect if the output iterator has
 been
         // generated by a format_manip object.
         template <
             typename T, typename Traits, typename Properties, typename
 Context
           , typename Delimiter, typename Attribute
>
         static bool generate(
             karma::detail::output_iterator<
                 karma::ostream_iterator<T, Char, Traits>, Properties
>& sink, Context& context, Delimiter const& d
           , Attribute const& attr)
         {

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8529>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC