Skip to navigation

holoscan::config::try_merge_config_values

Beta
View as Markdown
HOLOSCAN_CONFIG_EXPORT ConfigResult<ConfigValue> holoscan::config::try_merge_config_values(
const ConfigValue &baseline,
const ConfigValue &patch
)

Try to recursively merge object values while replacing other values as wholes.

Returns: The merged immutable value or a structured limit/allocation failure.

Parameters

baseline
const ConfigValue &

Immutable baseline value.

patch
const ConfigValue &

Immutable patch value.