Opened 10 years ago

Closed 4 years ago

Last modified 4 years ago

#8440 closed Bugs (fixed)

Incorrect comment in test/karma/real.hpp

Reported by: Mateusz Loskot Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

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.

Change History (3)

comment:1 by Joel de Guzman, 9 years ago

Owner: changed from Joel de Guzman to Hartmut Kaiser

comment:3 by Joel de Guzman, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.