Skip to content

Commit 6cd80a0

Browse files
author
AI Agent
committed
HDF5 IO: apply defer pattern to remaining functions
Apply the defer RAII pattern to ensure HDF5 resources are properly closed when exceptions occur in createPath, createDataset, openPath, openDataset, deletePath, deleteDataset, writeAttribute, and readDataset. Uses auxiliary::defer to register cleanup callbacks that run automatically when functions exit, even on exceptions.
1 parent b5403e6 commit 6cd80a0

1 file changed

Lines changed: 256 additions & 186 deletions

File tree

0 commit comments

Comments
 (0)