From 0cfe0158e78f2597eb9004d21c1a46264e9ced81 Mon Sep 17 00:00:00 2001 From: sauron Date: Mon, 25 Aug 2025 21:03:49 +0900 Subject: [PATCH] commit 2025-08-25 21:03 add ZCppMainTest/c++_test_005.cpp --- ZCppMainTest/c++_test_005.cpp | 134 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 ZCppMainTest/c++_test_005.cpp diff --git a/ZCppMainTest/c++_test_005.cpp b/ZCppMainTest/c++_test_005.cpp new file mode 100644 index 0000000..87bd841 --- /dev/null +++ b/ZCppMainTest/c++_test_005.cpp @@ -0,0 +1,134 @@ + + +#include +#include "ZCppMain/ZMainHead.H" + + +using namespace std; + + +namespace ZNsMain +{ + + namespace ZNsExam + { + + static void ShowFunctor(int AI_Data) + { + cout<<"* Show Data : "< static void + CallFunctor(TFunctor AO_Functor, int AI_Data) + { + AO_Functor(AI_Data); + }/* + template static void + CallFunctor(TFunctor AO_Functor, int AI_Data)*/ + + + static int Main(int AI_ArgCnt=0, char* APP_ArgVal[]=0) + { + _FUNC_IN_FUNC_START_(My)(int ArgiData) + { + cout<<"# Show My() In Func : i = "<