From 7c5b93fa34ca12d031d16e7b54b53816775e3427 Mon Sep 17 00:00:00 2001 From: sauron Date: Thu, 9 Oct 2025 22:11:39 +0900 Subject: [PATCH] commit 2025-10-09 22:11 delete operator()(TypeLength AL_AddSize, TypeCharC* APC_Format, ...) : ZCppMain/ZtCStringEx.H --- ZCppMain/ZtCStringEx.H | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/ZCppMain/ZtCStringEx.H b/ZCppMain/ZtCStringEx.H index cbe983b..1396af2 100644 --- a/ZCppMain/ZtCStringEx.H +++ b/ZCppMain/ZtCStringEx.H @@ -1719,31 +1719,6 @@ namespace ZNsMain ZCStringBase& operator()(bool AB_Bool)*/ - ZCStringBase& operator()( - TypeLength AL_AddSize, TypeCharC* APC_Format, ...) - { - if(AL_AddSize<1) return *this; - - - ReAllocKeep(ml_UseLen+AL_AddSize); - - // ml_UseLen+AL_AddSize 의 크기가 가변인수 문자열을 담을 만큼 커야한다. - - va_list VP_VarParam; - va_start( VP_VarParam, APC_Format); - vsprintf ////////////////////////// - ( - mpc_Data+ml_UseLen, APC_Format, VP_VarParam - ); - /////////////////////////////////// - - InvalidNull(ml_UseLen); return *this; - }/* - ZCStringBase& operator()( - TypeLength AL_AddSize, TypeCharC* APC_Format, ...)*/ - - - template ZCStringBase& AddObject(TObject& AR_CObject) { return (*this)((TypeCharC*)&AR_CObject, sizeof(AR_CObject)); @@ -1757,11 +1732,11 @@ namespace ZNsMain if(AL_StartPos>=ml_AllLen) return *this ; - do ///////// + do /*++++++++++++++++++++++++++++++++++*/ { if(mpc_Data[AL_StartPos++]==0) break; } - while(true); + while(true); /*++++++++++++++++++++++++*/ ml_UseLen=AL_StartPos-1; return *this; }/*