Template Class RAII

Class Documentation

template<typename T, typename Deleter>
class RAII

Public Functions

RAII() = default
RAII(const RAII&) = delete
RAII &operator=(const RAII&) = delete
inline RAII(RAII &&other) noexcept
inline RAII &operator=(RAII &&other) noexcept
inline ~RAII() noexcept
inline void reset() noexcept
inline T get() const
inline explicit operator bool() const noexcept

Public Members

std::optional<T> val