From 0e3b50de91a785794b28c0873f2ac61ad94d38d2 Mon Sep 17 00:00:00 2001 From: sauron Date: Fri, 10 Oct 2025 07:21:49 +0900 Subject: [PATCH] commit 2025-10-10 07:21 edit a bit ZCppMain/ZMainHead.H --- ZCppMain/ZMainHead.H | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index a436842..4180c22 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -5405,15 +5405,13 @@ namespace ZNsMain template TString& ZftMakeStr(TString& ARR_SaveCStr, TObject AO_Object) { return ARR_SaveCStr; } - //////////////////////////////////////////// - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, const string& AR_DataCStr) { ARR_SaveCStr.append(AR_DataCStr); return ARR_SaveCStr; } template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, const wstring& AR_DataCStr) { ARR_SaveCStr.append(AR_DataCStr); return ARR_SaveCStr; } - /*#############################################################################*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, int AI_Int) { ZTycInt CI_BuffSize = 31 ; @@ -5438,7 +5436,7 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize) ; }/* template<> string& ZftMakeStr(string& ARR_SaveCStr, int AI_Int)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, long AL_Long) { ZTycInt CI_BuffSize = 31 ; @@ -5465,7 +5463,7 @@ namespace ZNsMain return ARR_SaveCStr; }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, long AL_Long)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, ZTypLLong ALL_Long) { ZTycInt CI_BuffSize = 41 ; @@ -5498,7 +5496,7 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize); }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, ZTypLLong ALL_Long)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, ZTypIntUI AUI_Int) { ZTycInt CI_BuffSize = 31 ; @@ -5523,7 +5521,7 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize); }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, ZTypIntUI AUI_Int)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, ZTypIntUL AUL_Int) { ZTycInt CI_BuffSize = 41 ; @@ -5548,7 +5546,7 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize); }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, ZTypIntUL AUL_Int)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, ZTypIntULL AULL_Int) { ZTycInt CI_BuffSize = 41 ; @@ -5581,8 +5579,7 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize); }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, ZTypIntULL AULL_Int)*/ - - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, double AD_Double) { ZTycInt CI_BuffSize=51 ; @@ -5609,11 +5606,12 @@ namespace ZNsMain (VCA_BuffParam, VI_ResultSize); }/* template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, double AD_Double)*/ - + /*============================================================================*/ template<> string& ZftMakeStr(string& ARR_SaveCStr, bool AB_Bool) { return ARR_SaveCStr.append( AB_Bool ? "true" : "false" ); } template<> wstring& ZftMakeStr(wstring& ARR_SaveCStr, bool AB_Bool) { return ARR_SaveCStr.append( AB_Bool ? L"true" : L"false" ); } + /*============================================================================*/ template