edit ZMainHead.H

This commit is contained in:
2021-03-04 16:27:38 +09:00
parent 943473ef50
commit e00d040a9d
2 changed files with 8 additions and 1 deletions

View File

@ -1198,6 +1198,13 @@ namespace ZNsMain
-- 2015-02-16 21:20:00
단, template 인수는 2개부터가 유효하다.
typedef ZtStTuple<int> CTupleInt1 는 오류다.
typedef ZtStTuple<int, int> CTupleInt2 는 정상이다.
상식적으로도 ZtStTuple<int> 으로 쓸 일은 없다. -- 2021-03-04 16:27
//////////////////////////////////////////////////////////////////////////////////////////*/

View File

@ -81,7 +81,7 @@ int main(int ArgiCnt, char** AppArgu)
/* ZCFunctor1 선언이 main() 바깥에 있어야 하는 문제를 해결할 수 없을까. */
VO_IntList.IterElement(ZCShowData1::Exec);
VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple ); VO_CTuple._1=0 ;
VO_IntList.IterElemRef(ZCShowData2::Exec, VO_CTuple ); VO_CTuple._1=1 ;
VO_IntList.IterElement(ZCShowData3::Exec, &VO_CTuple);
VO_IntList.IterElement(&VO_CFunctor1 );