edit ZMainHead.H

This commit is contained in:
2021-03-04 15:49:03 +09:00
parent 0ef49bbc47
commit 5f52208a3f

View File

@ -52,11 +52,26 @@ int main(int ArgiCnt, char** AppArgu)
cout<<"# Elem : "<< AiInt << endl; cout<<"# Elem : "<< AiInt << endl;
}/* }/*
(ZTypInt AiInt)*/ (ZTypInt AiInt)*/
_FFC_(My3) _FFC_(ZCShowData)
class ZCFunctor1
{
private:
ZTypInt mi_Index;
public :
ZNsHide::ZCFunctor1 VO_CFunctor1; ZCFunctor1(){mi_Index=0;}
void operator()(int ArgiValue)
{ cout<<"# index="<<++mi_Index<<", Value="<<ArgiValue<<endl; }
public :
};/*
class ZCFunctor1*/
//ZNsHide::ZCFunctor1 VO_CFunctor1;
ZCFunctor1 VO_CFunctor1;
/* ZCFunctor1 선언이 main() 바깥에 있어야 하는 문제를 해결할 수 없을까. */ /* ZCFunctor1 선언이 main() 바깥에 있어야 하는 문제를 해결할 수 없을까. */
VO_IntList.IterElement(ZCShowData::Exec); VO_IntList.IterElement(ZCShowData::Exec);