edit test.cpp
This commit is contained in:
@ -61,19 +61,28 @@ int main(int ArgiCnt, char** AppArgu)
|
||||
|
||||
|
||||
_FFS_(ZCShowData2)
|
||||
(ZTypInt AiInt, ZCTuple& VR_CTuple)
|
||||
(ZTypInt AiInt, ZCTuple& AR_CTuple)
|
||||
{
|
||||
cout<<"# Elem : "<< AiInt << VR_CTuple._1++ << endl;
|
||||
cout<<"# Elem1 : "<< AiInt << ", nth=" << AR_CTuple._1++ << endl;
|
||||
}/*
|
||||
(ZTypInt AiInt, ZCTuple& VR_CTuple)*/
|
||||
(ZTypInt AiInt, ZCTuple& AR_CTuple)*/
|
||||
_FFC_(ZCShowData2)
|
||||
|
||||
_FFS_(ZCShowData3)
|
||||
(ZTypInt AiInt, ZCTuple* AP_CTuple)
|
||||
{
|
||||
cout<<"# Elem2 : "<< AiInt << ", nth=" << AP_CTuple->_1 << endl;
|
||||
}/*
|
||||
(ZTypInt AiInt, ZCTuple* AP_CTuple)*/
|
||||
_FFC_(ZCShowData3)
|
||||
|
||||
|
||||
ZNsHide::ZCFunctor1 VO_CFunctor1;
|
||||
/* ZCFunctor1 선언이 main() 바깥에 있어야 하는 문제를 해결할 수 없을까. */
|
||||
|
||||
VO_IntList.IterElement(ZCShowData1::Exec);
|
||||
VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple);
|
||||
VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple );
|
||||
VO_IntList.IterElemRef(ZCShowData3::Exec, &VO_CTuple);
|
||||
VO_IntList.IterElement(&VO_CFunctor1 );
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user