commit 2025-09-27 00:58 add ZtCTypeData< ZtCRef<TType> > and ZtCTypeData< ZtCRef<TType>* >
This commit is contained in:
@ -19,20 +19,44 @@ namespace ZNsMain
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
typedef ZtCStringBase<char> CStringBase ;
|
||||
typedef const CStringBase CCStringBase;
|
||||
|
||||
/* 아래 자료형에 대해, CStringBase::Fetch() 호출 여부 실험.
|
||||
|
||||
ZtCSimList<CStringBase&, CCStringBase&>
|
||||
ZtCSimList<CStringBase&, CCCStringBase&>
|
||||
|
||||
*/
|
||||
typedef ZtCSimList
|
||||
<CStringBase, CStringBase&> CStringList1 ;
|
||||
typedef ZtCSimList
|
||||
<CStringBase, CCStringBase&> CStringList2 ;
|
||||
|
||||
|
||||
|
||||
class CHelpObj
|
||||
{
|
||||
public:
|
||||
int mi_CallNo;
|
||||
public:
|
||||
|
||||
CHelpObj()
|
||||
CHelpObj() : mi_CallNo(0)
|
||||
{
|
||||
cout<<"* CHelpObj()"<<endl;
|
||||
}
|
||||
|
||||
CHelpObj(const CHelpObj& rhs)
|
||||
CHelpObj(const CHelpObj& rhs) : mi_CallNo(0)
|
||||
{
|
||||
cout<<"* CHelpObj(const CHelpObj& rhs)"<<endl;
|
||||
}
|
||||
|
||||
void operator()( CStringBase& AR_DataCStr)
|
||||
{ cout<<"# CallNo="<<++mi_CallNo<<" : "<<AR_DataCStr<<endl; }
|
||||
void operator()(CCStringBase& AR_DataCStr)
|
||||
{ cout<<"# CallNo="<<++mi_CallNo<<" : "<<AR_DataCStr<<endl; }
|
||||
|
||||
public:
|
||||
};/*
|
||||
class CHelpObj*/
|
||||
@ -71,20 +95,6 @@ namespace ZNsMain
|
||||
|
||||
public:
|
||||
|
||||
typedef ZtCStringBase<char> CStringBase ;
|
||||
typedef const CStringBase CCStringBase;
|
||||
|
||||
/* 아래 자료형에 대해, CStringBase::Fetch() 호출 여부 실험.
|
||||
|
||||
ZtCSimList<CStringBase&, CCStringBase&>
|
||||
ZtCSimList<CStringBase&, CCCStringBase&>
|
||||
|
||||
*/
|
||||
typedef ZtCSimList
|
||||
<CStringBase, CStringBase&> CStringList1 ;
|
||||
typedef ZtCSimList
|
||||
<CStringBase, CCStringBase&> CStringList2 ;
|
||||
|
||||
|
||||
static void ShowDataInNode(const CStringBase& AR_Data)
|
||||
{
|
||||
@ -216,6 +226,12 @@ namespace ZNsMain
|
||||
cout<<"# list11 IterElement ####" <<endl;*/
|
||||
|
||||
|
||||
cout<<"# list11 IterElement : ZftMCR(CHelpObj)" <<endl;
|
||||
VO_ListOfStr11.IterElement(ZftMCR(VO_CHelpObj));
|
||||
cout<<"# list11 IterElement : ZftMCP(CHelpObj)" <<endl;
|
||||
VO_ListOfStr11.IterElement(ZftMCP(VO_CHelpObj));
|
||||
|
||||
|
||||
return 0;
|
||||
}/*
|
||||
static int Main(int AI_ArgCnt=0, char* APP_ArgVal[]=0)*/
|
||||
|
Reference in New Issue
Block a user