From 5f52208a3f8680032325a3e0c4670e50db67dde8 Mon Sep 17 00:00:00 2001 From: sauron Date: Thu, 4 Mar 2021 15:49:03 +0900 Subject: [PATCH] edit ZMainHead.H --- ZCppMain/test.cpp | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/ZCppMain/test.cpp b/ZCppMain/test.cpp index 0eca81f..968302d 100644 --- a/ZCppMain/test.cpp +++ b/ZCppMain/test.cpp @@ -52,11 +52,26 @@ int main(int ArgiCnt, char** AppArgu) cout<<"# Elem : "<< AiInt << endl; }/* (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="<