diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index c09cef8..6a9fea8 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -3240,6 +3240,9 @@ namespace ZNsMain enum{ZETypeNo = TypeChainNext::ZETypeNo+1}; enum{ZEBoolNext = 1 }; public: + static ZTypIntE Size(){return ZETypeNo;} + static ZTypIntE size(){return ZETypeNo;} + public: template class ZtCIterChain { @@ -3295,6 +3298,9 @@ namespace ZNsMain enum{ZETypeNo = 1}; enum{ZEBoolNext = 0}; public: + static ZTypIntE Size(){return ZETypeNo;} + static ZTypIntE size(){return ZETypeNo;} + public: template class ZtCIterChain { @@ -3345,6 +3351,53 @@ namespace ZNsMain void ZftIterTmplChainTail(TTypeView AO_View) */ + /*//////////////////////////////////////////////////////////////// + + ■ ZtCTypeChain 예제. + + + using namespace ZNsMain; + + + class ZCTypeView + { + public: + + template void OnMeetType() + { + cout< > > + > ZCTypeChain; ZCTypeView VO_ZCTypeView; + + cout<<"temp chain size = "<(VO_ZCTypeView); + + cout<<"************************************"<::IterHead(VO_ZCTypeView); + cout<<"************************************"<::IterTail(VO_ZCTypeView); + + return 0; + } + + -- 2025-10-17 16:42 + + ////////////////////////////////////////////////////////////////*/ + namespace ZNsTmplChain