diff --git a/ZCppMain/ZCProcess.H b/ZCppMain/ZCProcess.H index 8d6fa43..b180f75 100644 --- a/ZCppMain/ZCProcess.H +++ b/ZCppMain/ZCProcess.H @@ -778,9 +778,7 @@ namespace ZNsMain &ZtCThreadEx::template ThreadFuncHelpKey < TypeData - >/* - &ZtCThreadEx::template ThreadFuncHelpKey*/ - , + > , VP_CHelpKeyParam /*/////////*/ ); /////////////////////////////////////// }/* @@ -798,21 +796,21 @@ namespace ZNsMain typedef ZtCHelpKeyParam2 ZCHelpKeyParam; - ZCHelpKeyParam* VP_CHelpKeyParam = new ZCHelpKeyParam( - ZCCheckRef1::PassData(AR_HelpKey1), - ZCCheckRef2::PassData(AR_HelpKey2), - *GetCDerivePtr() - /*/////////*/ ); ///////////////////////////////////// + ZCHelpKeyParam* VP_CHelpKeyParam = new ZCHelpKeyParam + ( + ZCCheckRef1::PassData(AR_HelpKey1), + ZCCheckRef2::PassData(AR_HelpKey2), + *GetCDerivePtr() + ); + ///////////////////////////////////////////////////// - return this->TThread::Make( - &ZtCThreadEx::template ThreadFuncHelpKey2 - < - TypeData1, TypeData2 - >/* - &ZtCThreadEx::template ThreadFuncHelpKey2*/ - , - VP_CHelpKeyParam - /*/////////*/ ); //////////////////////////////////////// + return this->TThread::Make + ( + &ZtCThreadEx::template + ThreadFuncHelpKey2, + VP_CHelpKeyParam + ); + /*:::::::::::::::::::::::::::::::::::::::::::::::::*/ }/* template bool Make(THelpKey1 AR_HelpKey1, THelpKey2 AR_HelpKey2) */ @@ -834,22 +832,22 @@ namespace ZNsMain typedef ZtCHelpKeyParam3 ZCHelpKeyParam ; - ZCHelpKeyParam* VP_CHelpKeyParam = new ZCHelpKeyParam( - ZCCheckRef1::PassData(AR_HelpKey1), - ZCCheckRef2::PassData(AR_HelpKey2), - ZCCheckRef3::PassData(AR_HelpKey3), - *GetCDerivePtr() - /*/////////*/ ); ///////////////////////////////////// + ZCHelpKeyParam* VP_CHelpKeyParam = new ZCHelpKeyParam + ( + ZCCheckRef1::PassData(AR_HelpKey1), + ZCCheckRef2::PassData(AR_HelpKey2), + ZCCheckRef3::PassData(AR_HelpKey3), + *GetCDerivePtr() + ); + ///////////////////////////////////////////////////// - return this->TThread::Make( - &ZtCThreadEx::template ThreadFuncHelpKey3 - < - TypeData1, TypeData2, TypeData3 - >/* - &ZtCThreadEx::template ThreadFuncHelpKey3*/ - , - VP_CHelpKeyParam - /*/////////*/ ); //////////////////////////////////////// + return this->TThread::Make /*::::::::::::::::::::::*/ + ( + &ZtCThreadEx::template + ThreadFuncHelpKey3 , + VP_CHelpKeyParam + ); + /*:::::::::::::::::::::::::::::::::::::::::::::::::*/ }/* template diff --git a/ZCppMainTest/ZtCThreadEx_000.cpp b/ZCppMainTest/ZtCThreadEx_000.cpp index d75f9a4..3fc2698 100644 --- a/ZCppMainTest/ZtCThreadEx_000.cpp +++ b/ZCppMainTest/ZtCThreadEx_000.cpp @@ -55,6 +55,20 @@ namespace ZNsMain cout<<"* Init2() : "<*/ @@ -64,12 +78,14 @@ namespace ZNsMain CThreadMy VO_CThreadMy ; ZCStringStd VO_ZCStringStd1("Help Data1"); ZCStringStd VO_ZCStringStd2("Help Data2"); + ZCStringStd VO_ZCStringStd3("Help Data3"); VO_CThreadMy.Make(ZftMCP(VO_ZCStringStd1)); cout<<"# Press Enter to continue."<