Martin Sandve Alnæs <[email protected]> writes: > { > HDF5File file(name); > file.write(...); > foo(); // if this throws an exception...
Note that this exception may not be collective in parallel. > file.write(...); > file.close(); // ... this won't execute > // .. but with RAII the file would be closed here, and that's the way all > standard conforming libraries work > }
pgpfVDU_zM63x.pgp
Description: PGP signature
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
