AMDG On 04/05/2017 09:10 AM, Leo Cacciari via Boost-users wrote:
the documentation of the Boost.Fusion library (1.63.0) at http://www.boost.org/doc/libs/1_63_0/libs/fusion/doc/html/fusion/sequence/op... affirms that operator<< is defined in the boost::fusion namespace with the following synopsis:
template
OStream& operator<<(OStream& os, Sequence& seq); where the template parameter OStream is defined as "An output stream".
<snip>
Looking into the source (file boost/fusion/sequence/io/out.hpp) it seems that the operator<< is only defined for left-hand argument of type std::ostream.
Thus the questions:
1. Is this a bug and should I post a ticket about it? (I looked in the bugs database but I couldn't find it)
It's definitely a bug. Whether the bug is in
the documentation or in the source, I can't say.
Personally, I think both are wrong, and the
correct signature is
template
2. If it's a bug, are there any plan to patch it soon? 3. If not, does exist any reason why it shouldn't be patched nevertheless?
In Christ, Steven Watanabe