Opened 9 years ago
Last modified 9 years ago
#8529 new Bugs
boost/spirit/home/karma/stream/stream.hpp comments about special overload incomplete
Reported by: | cppljevans | Owned by: | Hartmut Kaiser |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.52.0 | Severity: | Cosmetic |
Keywords: | karma stream comments | Cc: |
Description
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.
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | stream_generator.cpp added |
---|
comment:1 by , 9 years ago
Owner: | changed from | to
---|
causes call of generate function whose comments don't mention that possibility