commit 2025-10-09 11:33 edit a bit ZCppMain/ZtCStringEx.H
This commit is contained in:
@ -1312,8 +1312,15 @@ namespace ZNsMain
|
||||
bool operator<=(const ZCChars& AR_CChars) const{return Minus(AR_CChars.data(), AR_CChars.size())<=0 ;}
|
||||
|
||||
|
||||
ZCStringBase operator+(const TypeThis& rhs)
|
||||
{
|
||||
return (*this)(rhs);
|
||||
}/*
|
||||
ZCStringBase operator+(const TypeThis& rhs)*/
|
||||
|
||||
ZCStringBase operator+(TypeCharC* APC_Data)
|
||||
{
|
||||
#if(_CODE_OLD_)
|
||||
if(APC_Data==0 || APC_Data[0]+=0) return *this;
|
||||
|
||||
ZCStringBase VO_CStringTemp;
|
||||
@ -1323,11 +1330,15 @@ namespace ZNsMain
|
||||
VO_CStringTemp(*this) (APC_Data, VL_ArgLen);
|
||||
|
||||
return VO_CStringTemp;
|
||||
#else
|
||||
return (*this)(APC_Data);
|
||||
#endif
|
||||
}/*
|
||||
ZCStringBase operator+(TypeCharC* APC_Data)*/
|
||||
|
||||
ZCStringBase operator+(const ZCCharView& AR_View)
|
||||
{
|
||||
#if(_CODE_OLD_)
|
||||
ZCStringBase VO_CStringTemp;
|
||||
|
||||
VO_CStringTemp.ReAlloc
|
||||
@ -1336,6 +1347,9 @@ namespace ZNsMain
|
||||
( AR_View.data(), AR_View.size() );
|
||||
|
||||
return VO_CStringTemp;
|
||||
#else
|
||||
return (*this)(AR_View);
|
||||
#endif
|
||||
}/*
|
||||
ZCStringBase operator+(const ZCCharView& AR_View)*/
|
||||
|
||||
|
Reference in New Issue
Block a user