template<typename T>
eckit::AutoCloser class

Constructors, destructors, conversion operators

AutoCloser(T& obj)
~AutoCloser() noexcept(…)

Function documentation

template<typename T _1>
eckit::AutoCloser<_1>::~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

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.