commit 2025-10-18 01:55 ZtCObjtChain after ZtCObjtChain => ZtCObjtChainEx ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-18 01:55:54 +09:00
parent 1d3ee05571
commit 342dc34096
2 changed files with 212 additions and 22 deletions

View File

@ -108,17 +108,17 @@ namespace ZNsMain
cout<<myintvar2.MO_TypeVar<<endl;
typedef ZtCObjtChain
typedef ZtCObjtChainEx
<
char , 'a' , ZtCObjtChain<
//double, 10.2 , ZtCObjtChain< // error in linux
//string, string("123") , ZtCObjtChain< // error
long , 10 , ZtCObjtChain<
char , 'a' , ZtCObjtChainEx<
//double, 10.2 , ZtCObjtChainEx< // error in linux
//string, string("123") , ZtCObjtChainEx< // error
long , 10 , ZtCObjtChainEx<
int , 19 ,
ZCEmpty > >
> ZtCObjtChain; ZCTypeView VO_ZCTypeView;
> ZtCObjtChainEx; ZCTypeView VO_ZCTypeView;
ZtCObjtChain VO_ZtCObjtChain; int VI_CallNo = 0;
ZtCObjtChainEx VO_ZtCObjtChain; int VI_CallNo = 0;
cout<<"# VO_ZtCObjtChain.size()="<<VO_ZtCObjtChain.size()<<endl;
@ -147,10 +147,11 @@ namespace ZNsMain
ZftIterTypeChainTail<ZCTypeChain, ZCTypeView&>(VO_ZCTypeView);
cout<<"************************************"<<endl;
cout<<"@** call start : ZCTypeView(rhs) **********@"<<endl;
ZCTypeChain::ZtCIterChain<ZCTypeView>::IterHead(VO_ZCTypeView);
cout<<"************************************"<<endl;
cout<<"@******************************************@"<<endl;
ZCTypeChain::ZtCIterChain<ZCTypeView>::IterTail(VO_ZCTypeView);
cout<<"@*** call close : ZCTypeView(rhs) *********@"<<endl;
ZftIterTypeChainHead<ZCTypeChain, ZCTypeView&, int&>
( VO_ZCTypeView, (VI_CallNo = 0) );
@ -159,10 +160,10 @@ namespace ZNsMain
( VO_ZCTypeView, (VI_CallNo = 0) );
cout<<"************************************"<<endl;
ZCTypeChain::ZtCIterChain<ZCTypeView>::
ZCTypeChain::ZtCIterChain<ZCTypeView&>::
IterHead(VO_ZCTypeView, ZftMCP(VI_CallNo=0));
cout<<"************************************"<<endl;
ZCTypeChain::ZtCIterChain<ZCTypeView>::
ZCTypeChain::ZtCIterChain<ZCTypeView&>::
IterTail(VO_ZCTypeView, ZftMCP(VI_CallNo=0));