commit 2025-10-10 07:21 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -5405,15 +5405,13 @@ namespace ZNsMain
|
||||
template<typename TString, typename TObject>
|
||||
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<typename TTypeChar, typename TTypeLength>
|
||||
|
Reference in New Issue
Block a user