Subject: [Boost-bugs] [Boost C++ Libraries] #8440: Incorrect comment in test/karma/real.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-15 15:51:12
#8440: Incorrect comment in test/karma/real.hpp
-------------------------------------+--------------------------------------
Reporter: mloskot | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost Development Trunk | Severity: Cosmetic
Keywords: |
-------------------------------------+--------------------------------------
In the aformentioned file, there is this type defined:
{{{
template <typename T>
struct fixed_policy : boost::spirit::karma::real_policies<T>
{
typedef boost::spirit::karma::real_policies<T> base_type;
// we want the numbers always to be in scientific format
static int floatfield(T) { return base_type::fmtflags::fixed; }
};
}}}
The last comment should likely end with: **in fixed notation format**
This is about cosmetics, but as the comments serve purpose of documenting,
it may be worth to correct it.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8440> 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:12 UTC