#include <eckit/io/AutoCloser.h>
template<typename T>
AutoCloser class
Constructors, destructors, conversion operators
- AutoCloser(T& obj)
- ~AutoCloser() noexcept(…)
Function documentation
template<typename T>
eckit:: AutoCloser<T>:: ~AutoCloser() noexcept(…)
Assume that close() can throw Otherwise we could test the interface with: ~AutoCloser() noexcept(noexcept(std::declval<T>().close()))
but Intel compiler 17 on Cray XC40 has trouble with it