> This page is for version 5.0 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 5.0 (Latest) (default): https://docs.nvidia.com/holoscan/sdk-user-guide/5-0-latest/llms.txt
> - ltsb-2.0: https://docs.nvidia.com/holoscan/sdk-user-guide/ltsb-2-0/llms.txt
> - 4.6: https://docs.nvidia.com/holoscan/sdk-user-guide/4-6/llms.txt
> - 4.5: https://docs.nvidia.com/holoscan/sdk-user-guide/4-5/llms.txt
> - 4.4: https://docs.nvidia.com/holoscan/sdk-user-guide/4-4/llms.txt
> - 4.3: https://docs.nvidia.com/holoscan/sdk-user-guide/4-3/llms.txt
> - Archives: https://docs.nvidia.com/holoscan/sdk-user-guide/archives/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::config::try_merge_config_values

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

```cpp showLineNumbers={false}
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.

---