|
inline |
Default ctor.
char const *
is convertible to bool
but not to int
, whereas bool
is convertible to int
. So we can write f(YesNo); f(true);
but not f("abc")
(unless someone overloaded f()
to e.g. also take a std::string_view
, as is the case for prod
.