📄 cleanupsupport.h
字号:
#ifndef CLEANUPSUPPORT_H
#define CLEANUPSUPPORT_H
// CLASS DECLARATION
/**
*
* @class CleanupResetAndDestroy CleanupSupport.h
* @brief Cleanup support for RPointerArrays that own their contents.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
template <class T>
class CleanupResetAndDestroy
{
public:
// Push an item onto the CleanupStack using a TCleanupItem.
inline static void PushL(T& aRef);
private:
// Function called when the item is destroyed from the Cleanup Stack.
static void ResetAndDestroy(TAny* aPtr);
};
#endif // #ifndef CLEANUPSUPPORT_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -