! * \brief set a callback to be invoked when an operator is destructed * \param[in,out] cb the callback function; it would be set to the * previous callback function */
| 123 | * previous callback function |
| 124 | */ |
| 125 | void set_opr_destruct_callback(thin_function<void(OperatorBase*)>& cb) { |
| 126 | cb.swap(m_on_opr_destructed); |
| 127 | } |
| 128 | |
| 129 | MGE_WIN_DECLSPEC_FUC void on_opr_destructed(OperatorBase* opr); |
| 130 |
no test coverage detected