warimplementmemory.h

来自「ftpserver very good sample」· C头文件 代码 · 共 69 行

H
69
字号
/** @See WarMemoryBuffer.h*/#ifndef WAR_IMPLEMENT_MEMORY_H#define WAR_IMPLEMENT_MEMORY_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_MEMORY_BUFFER_H#   include "WarMemoryBuffer.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplustemplate <class T>class WarImplementMemory {public:    // LIFECYCLE    // OPERATORS    ///    void *operator new(size_t len, WarMemoryBuffer<T> *_pmem);        ///    void operator delete(void *, WarMemoryBuffer<T> *);    // OPERATIONS                           // ACCESS    // INQUIRY    protected:private:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_IMPLEMENT_MEMORY_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?