Modify

Ticket #5505 (new Bugs)

Opened 6 years ago

Format : int conversion to bool warning

Reported by: Akira Takahashi <faithandbrave@…> Owned by: samuel_krempp
Milestone: To Be Determined Component: format
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc:

Description

VC++2008, warning level 4

template<class Ch, class Facet> inline
bool wrap_isdigit(const Facet& fac, Ch c) {
    ...
    return isdigit(c);
}

boost_1_46_1/boost/format/parsing.hpp(53) : warning C4800

should be

return isdigit(c) != 0;

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.