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

@ -7502,11 +7502,14 @@ namespace ZNsMain
typedef TTypString /*++*/ TypeCStr;
typedef typename
ZtCCharInt<TypeChar>::TypeInt TypeInt ;
typedef typename TypeCStr::
size_type /*++*/ TypeSize;
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
static const int CI_ByteSize = sizeof(TypeChar);
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
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:
};/*
@ -7517,6 +7520,8 @@ namespace ZNsMain
public:
typedef std::string /*+++++++*/ TypeCStr;
typedef char /*+++++++*/ TypeChar;
typedef typename TypeCStr::
size_type /*++*/ TypeSize;
typedef typename
ZtCCharInt<char>::TypeInt TypeInt ;
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@ -7524,6 +7529,7 @@ namespace ZNsMain
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef TypeChar char_type ;
typedef TypeInt int_type ;
typedef TypeSize size_type ;
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
public:
};/*
@ -7536,11 +7542,14 @@ namespace ZNsMain
typedef wchar_t /*+++++++*/ TypeChar;
typedef typename
ZtCCharInt<wchar_t>::TypeInt TypeInt ;
typedef typename TypeCStr::
size_type /*+++++++*/ TypeSize;
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
static const int CI_ByteSize = sizeof(TypeChar);
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
typedef TypeChar char_type ;
typedef TypeInt int_type ;
typedef TypeSize size_type ;
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
public:
};/*