commit 2025-10-09 14:31 add size_type in ZtCCharType : ZCppMain/ZtCStringEx.H etc

This commit is contained in:
2025-10-09 14:31:27 +09:00
parent ab07905f68
commit 26b7770b61
4 changed files with 28 additions and 8 deletions

View File

@ -152,10 +152,12 @@ namespace ZNsMain
typedef TTypCh /*//////////////////*/ TypeChar ;
static const int CI_ByteSize = sizeof(TypeChar) ;
typedef typename
ZtCCharInt<TypeChar>::TypeInt TypeInt ;
ZtCCharInt<TypeChar> ::TypeInt TypeInt ;
typedef typename TypeCStr::TypeSize TypeSize ;
public:
typedef TypeChar char_type ; // for stl string/wstring
typedef TypeInt int_type ; // for stl string/wstring
typedef TypeSize size_type ; // for stl string/wstring
public:
};/*
class ZtCCharType /*#####################################################*/
@ -299,18 +301,18 @@ namespace ZNsMain
public:
typedef TAlloc ZCAllocator ;
/*++++++++++++++++++++++++++++++++++++++++++*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef TTypCh TypeChar ;
typedef const TTypCh TypeCharC ;
typedef const TTypCh* TypeCharCP ;
typedef const TTypCh* TypeCPChar ;
typedef TTypCh* TypePChar ;
/*++++++++++++++++++++++++++++++++++++++++++*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef TTypeString ZCTypeString;
typedef ZtCStringBase ZCStringBase;
/*++++++++++++++++++++++++++++++++++++++++++*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef ZtCStringBase TypeThis ;
/*++++++++++++++++++++++++++++++++++++++++++*/
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef typename ZCTypeString::ZCSearchInfo ZCSearchInfo ;
typedef typename ZCTypeString::ZCSearchInfoList ZCSearchInfoList ;
typedef typename ZCTypeString::ZCTypeChars ZCTypeChars ;
@ -326,13 +328,13 @@ namespace ZNsMain
typedef const ZCChars ZCCharViewC;
public:
typedef TypeChar TypeData ;
public:
typedef TAlloc TypeAlloc ;
typedef ZCStringList TypeList ;
public:
typedef ZNsMain::ZtCCharType<ZtCStringBase> ZCCharType ;
typedef ZNsMain::ZtCCharType<ZtCStringBase> traits_type; // for strl string/wstring
typedef typename ZCCharType::TypeInt TypeCharInt;
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef ZNsMain::ZtCCharType<ZtCStringBase> traits_type; // for strl string/wstring
typedef TypeSize size_type ; // for strl string/wstring
public:
enum EWriteFile // WriteFile() 에서 사용한다.