Conversion means automatic conversion. In our case, what we need ist the ability to *construct* a bool from our (function) object -- while functors aren't automatically convertible to bool. Thus we use one of the new predicates from <type_traits> |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||