Define YAML_LOAD_OPT2
Defined in File yaml_helpers.h
Define Documentation
-
YAML_LOAD_OPT2(_varname, _type)
Optional load:
_varname = cfg[_varname](keeps default when the key is absent).- Parameters:
_varname – Variable name - also used verbatim as the YAML key.
_type – C++ type for the
getOrDefaultcall.