ukoethe/vigra — Issue #104: HDF5File is missing a default constructor
Author: bekaus
Created: 2011-12-14 15:39:38+00:00
State: open
Labels: refactoring

HDF5File throws a runtime error, if one tries to open a non existing filename.
To catch these exception one would like to do the following:

HDF5File f;
try {
f = HDFFile("I dont exists");
} catch(exception& e) {}

This is impossible due to a missing default constructor and one has to use ugly pointer constructions.