add comment for ConfigHelper::getBool

This commit is contained in:
cmsxbc 2021-12-31 00:47:01 +08:00
parent c28fcd5a2f
commit f0e82e2cb6
No known key found for this signature in database
GPG Key ID: A58268D081411C9C

View File

@ -11,6 +11,8 @@ namespace Poco
namespace DB::ConfigHelper
{
/// The behavior is like `config.getBool(key, default_)`,
/// except when the tag is empty (aka. self-closing), `empty_as` will be used instead of throwing Poco::Exception.
bool getBool(const Poco::Util::AbstractConfiguration & config, const std::string & key, bool default_, bool empty_as);
}