Exceptions are not to be thrown from destructors.
Normally I would have moved the closing of the file in a separate method, but calling it messes up the design (needs specialization of the CfgHelper template class). Instead, an error message is displayed -- aborting seems to drastic in this case.
Exceptions are not to be thrown from destructors. Normally I would have moved the closing of the file in a separate method, but calling it messes up the design (needs specialization of the CfgHelper template class). Instead, an error message is displayed -- aborting seems to drastic in this case.