listex.inl

来自「一个完整的编辑器的代码(很值得参考」· INL 代码 · 共 35 行

INL
35
字号

#ifndef __LISTEX_INL__INCLUDED__
#define __LISTEX_INL__INCLUDED__

#ifdef INLINE
#undef INLINE
#endif

#ifndef _DEBUG
#define INLINE inline
#else
#define INLINE
#endif // _DEBUG

////////////////////////////////////////////////////////////////////////////////

template <class TYPE, class ARG_TYPE >INLINE
CListEx < TYPE, ARG_TYPE >::
CListEx (int nBlockSize /*= 10*/ , BOOL bDelete /*= FALSE*/ )
    : CList < TYPE, ARG_TYPE > (nBlockSize),
    m_bDelete (bDelete)
{
}

template <class TYPE, class ARG_TYPE >INLINE
CListEx < TYPE, ARG_TYPE >:: ~
CListEx ()
{
  DestroyAll ();
}

////////////////////////////////////////////////////////////////////////////////

#endif // __LISTEX_INL__INCLUDED__

⌨️ 快捷键说明

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