Re:Let’s Stop Bashing C
by dbaupp on Friday December 02, 2016 @06:45PM
(#13093275)
I imagine the warning is following the rules for explicit constructors/operators in C++: an if condition is considered an "explicit" call to an `operator bool`. http://en.cppreference.com/w/cpp/language/explicit
[ Parent
| on HN ]
There are no comments on this comment yet.