[vcpkg] check_exit should accept explicitly-convertible-to-bool

This commit is contained in:
Robert Schumacher 2017-04-28 17:27:07 -07:00
parent cbc52bc6a4
commit bf924ce9a6

View File

@ -29,9 +29,9 @@ namespace vcpkg::Checks
void check_exit(const LineInfo& line_info, bool expression, const CStringView errorMessage);
template<class Arg1, class... Args>
template<class Conditional, class Arg1, class... Args>
void check_exit(const LineInfo& line_info,
bool expression,
Conditional&& expression,
const char* errorMessageTemplate,
const Arg1 errorMessageArg1,
const Args&... errorMessageArgs)