commit 2025-10-04 12:08 add IterElemLink(TFunctor, TTypeHelp1, TTypeHelp2) : ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-04 12:08:13 +09:00
parent a721d4465a
commit 989273ee18
4 changed files with 125 additions and 28 deletions

View File

@ -310,19 +310,35 @@ namespace ZNsMain
static void ShowNode10(ZCLink10& AR_CLink)
{
cout<<"* Node10 Prev : "<<*(AR_CLink-1)<<endl;
cout<<"* Node10 Curr : "<<*(AR_CLink )<<endl;
cout<<"* Node10 Curr : " <<*(AR_CLink )<<endl;
cout<<"* Node10 Prev : "<<*(AR_CLink+1)<<endl;
}/*
static void ShowNode10(ZCLink10& AR_CLink)*/
static void ShowNode11(ZCLink11& AR_CLink)
{
cout<<"* Node11 Prev : "<<*(AR_CLink-1)<<endl;
cout<<"* Node11 Curr : "<<*(AR_CLink )<<endl;
cout<<"* Node11 Curr : " <<*(AR_CLink )<<endl;
cout<<"* Node11 Prev : "<<*(AR_CLink+1)<<endl;
}/*
static void ShowNode11(ZCLink11& AR_CLink)*/
static void ShowNode10_2(ZCLink10& AR_CLink, ostream& AR_OS)
{
cout<<"* Node10_2 Prev : "<<*(AR_CLink-1)<<endl;
cout<<"* Node10_2 Curr : " <<*(AR_CLink )<<endl;
cout<<"* Node10_2 Prev : "<<*(AR_CLink+1)<<endl;
}/*
static void ShowNode10_2(ZCLink10& AR_CLink, ostream& AR_OS)*/
static void ShowNode11_2(ZCLink11& AR_CLink, ostream& AR_OS)
{
cout<<"* Node11_2 Prev : "<<*(AR_CLink-1)<<endl;
cout<<"* Node11_2 Curr : " <<*(AR_CLink )<<endl;
cout<<"* Node11_2 Prev : "<<*(AR_CLink+1)<<endl;
}/*
static void ShowNode11_2(ZCLink11& AR_CLink, ostream& AR_OS)*/
static int Main(int AI_ArgCnt=0, char* APP_ArgVal[]=0)
{
CStringBase VO_CStringBase;
@ -430,6 +446,8 @@ namespace ZNsMain
cout<<"# VO_ZCBaseListEx10_2 : capacity()="<<VO_ZCBaseListEx10_2.capacity()<<endl;
VO_ZCBaseListEx10_2.IterElemLink(&ShowNode10);
cout<<"*****************************************************"<<endl;
VO_ZCBaseListEx10_2.IterElemLink(&ShowNode10_2, ZftMCP(cout));
return 0;
}/*