commit 2025-10-15 12:54 add iterator and func : ZCppMain/ZtCLinkList.H

This commit is contained in:
2025-10-15 12:54:16 +09:00
parent 4c6cde5d59
commit a1b89271b7
4 changed files with 490 additions and 30 deletions

View File

@ -1282,6 +1282,7 @@ namespace ZNsMain
TypeDataC& operator*() const{return **mp_CurrLink;}
operator TypeNodeC* () const{return mp_CurrLink;}
operator TypeNodeC& () const{return *mp_CurrLink;}
operator TypeNode * () const{return 0 ;}
bool operator == (const ZCNodePointN& rhs) const
@ -2660,7 +2661,7 @@ namespace ZNsMain
__for0(TypeSize, i, ml_LinkSize)
{
ZtCTypeData<TFunctor>::
GetObjRef(AO_Functor)(VP_LoopLink->mo_DataObjt);
GetObjRef(AO_Functor)(**VP_LoopLink);
VP_LoopLink = VP_LoopLink->mp_NextLink ;
}/*