27 using destroyer = std::function<void()>;
50 destroyer m_Destroyer;
Class for RAII: functor passed in constructor will be called in destructor.
destruction_callback(destroyer _destroyer)
destruction_callback object constructor
#define QX_NONCOPYABLE(className)
Define class as non copyable.
#define QX_MOVABLE(className)
Define class as default movable.