commit 2025-09-14 12:37 apply ZNsIFaceEx::ZtCFreeHeapCDL<ZNsConst::CI_ListKind_Double> in ZCppMain/ZtCObjList.H

This commit is contained in:
2025-09-14 12:37:17 +09:00
parent 82761030c8
commit 1876bdc2ce
3 changed files with 156 additions and 101 deletions

View File

@ -3906,6 +3906,18 @@ namespace ZNsMain
public:
typedef typename TSnglList::ZCLink ZCLink ;
typedef typename TSnglList::TypeSize TypeSize;
/*:::::::::::::::::::::::::::::::::::::::::::::::::::
■ 만약 ZCLink 의 non-public 멤버에 접근해야 하는 경우,
ZCLink 에서 ZtCBody 에 friend 선언을 해줘야 하는 것
이 맞겠지만, friend 선언 없이 해야 한다면, ZCLink 와
같은 멤버를 가진 class 를 선언하고 그 class 로 강제
형변환을 해서 해결하자.
-- 2025-09-14 12:34
:::::::::::::::::::::::::::::::::::::::::::::::::::*/
public:
void RecvFreeIn(ZCLink* AP_CutLink){delete AP_CutLink;}