#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 , 9 years ago
| Owner: | changed from to | 
|---|
comment:3 by , 4 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

fixed in https://github.com/boostorg/spirit/commit/304a10ff33599f35637450501fb327630c4857a7