awesome

On Fri, Jul 19, 2013 at 10:21 AM, Anthony Scopatz
<notifications@github.com>wrote:

> In src/Core/Utility/Hdf5Back.cpp:
>
> > @@ -0,0 +1,152 @@
> > +
> > +#include "Hdf5Back.h"
> > +
> > +#define STR_SIZE 16
> > +
> > +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > +Hdf5Back::Hdf5Back(const char* path)
> > +    : path_(path) {
> > +  file_ = H5Fcreate(path_, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
>
> @gidden <https://github.com/gidden>, @rwcarlsen<https://github.com/rwcarlsen>is right. HDF5 is a C API and so it is impossible for this to throw
> exceptions in the C++ sense. (HDF5 does have it own exception mechanism and
> backtrace functionality, but if anything, you want to turn that off.) There
> is a C++ API for HDF5 but it has been deprecated, is incomplete, and should
> be avoided like death itself.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/518/files#r5294704>
> .
>