From a9032f80a78f7e6093000480603a20bfd723eceb Mon Sep 17 00:00:00 2001 From: sauron Date: Tue, 19 Aug 2025 22:21:02 +0900 Subject: [PATCH] commit 2025-08-19 21:31 edit __FastMoveObj() in ZCppMain/ZtCStringEx.H --- ZCppMain/ZtCStringEx.H | 52 +++++++++++++++++--------------------------------- 1 file changed, 17 insertions(+), 35 deletions(-) diff --git a/ZCppMain/ZtCStringEx.H b/ZCppMain/ZtCStringEx.H index eb86b25..b6eca57 100644 --- a/ZCppMain/ZtCStringEx.H +++ b/ZCppMain/ZtCStringEx.H @@ -8276,14 +8276,20 @@ namespace ZNsMain ) */ + namespace ZNsFunc { - template - void __FastMoveObj( - ZNsMain::ZtCStringBase& AR_CString1, - ZNsMain::ZtCStringBase& AR_CString2 - /*//////////*/ ) + template ////////////////////////////////////////////////////////////////// + < + typename TTypCh , typename TAlloc, + typename TAllocSize, typename TTypeString + > + void __FastMoveObj //////////////////////////////////////////////////////// + ( + ZtCStringBase& AR_CString1, + ZtCStringBase& AR_CString2 + ) { #ifdef _DEBUG_FAST_MOVE_OBJ_ cout<<" ▶▶ __FastMoveObj(ZCString&, ZCString&) Start!"< - void __FastMoveObj( - ZNsMain::ZtCStringBase& AR_CString1, - ZNsMain::ZtCStringBase& AR_CString2 - ////////////// ) */ - - - template - void __FastMoveObj( - ZNsMain::ZtCStringBase& AR_CString1, - const ZNsMain::ZtCStringBase& AR_CString2 - /*//////////*/ ) - { - typedef ZNsMain::ZtCStringBase CStringType; - - #ifdef _DEBUG_FAST_MOVE_OBJ_ - cout<<" ▶▶ __FastMoveObj(ZCString&, const ZCString&) Start!"<(AR_CString2)); - - #ifdef _DEBUG_FAST_MOVE_OBJ_ - cout<<" ▶▶ __FastMoveObj(ZCString&, const ZCString&) Close!"< - void __FastMoveObj( - ZNsMain::ZtCStringBase& AR_CString1, - const ZNsMain::ZtCStringBase& AR_CString2 - ////////////// ) */ + template ////////////////////////////////////////////////////////////////// + < + typename TTypCh , typename TAlloc, + typename TAllocSize, typename TTypeString + > + void __FastMoveObj //////////////////////////////////////////////////////*/ }/* namespace ZNsFunc*/