commit 2025-10-09 11:12 edit a bit ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-09 11:12:56 +09:00
parent f32ab7e51b
commit 25abd43d79
2 changed files with 10 additions and 15 deletions

View File

@ -7437,15 +7437,14 @@ namespace ZNsMain
public:
typedef typename TTypString::
traits_type::char_type /*++*/ TypeChar;
typedef TTypString /*+++++++++*/ TypeCStr;
public:
typedef TTypString /*++*/ TypeCStr;
typedef typename
ZtCCharInt<TypeChar>::TypeInt TypeInt ;
ZtCCharInt<TypeChar>::TypeInt TypeInt ;
public:
static const int CI_ByteSize = sizeof(TypeChar);
public:
typedef TypeChar char_type ; // for stl
typedef TypeInt int_type ; // for stl
typedef TypeChar char_type ; // for stl string/wstring
typedef TypeInt int_type ; // for stl string/wstring
public:
};/*
template<typename TTypString> class ZtCCharType*/
@ -7454,15 +7453,14 @@ namespace ZNsMain
{
public:
typedef std::string /*+++++++*/ TypeCStr;
typedef char /*+++++++++++++++*/ TypeChar;
public:
typedef char /*+++++++*/ TypeChar;
typedef typename
ZtCCharInt<char>::TypeInt TypeInt ;
public:
static const int CI_ByteSize = sizeof(TypeChar);
public:
typedef TypeChar char_type ; // for stl
typedef TypeInt int_type ; // for stl
typedef TypeChar char_type ; // for stl string/wstring
typedef TypeInt int_type ; // for stl string/wstring
public:
};/*
template<> class ZtCCharType<std::string>*/
@ -7471,15 +7469,14 @@ namespace ZNsMain
{
public:
typedef std::wstring /*+++++++*/ TypeCStr;
typedef wchar_t /*+++++++++++*/ TypeChar;
public:
typedef wchar_t /*+++++++*/ TypeChar;
typedef typename
ZtCCharInt<wchar_t>::TypeInt TypeInt ;
public:
static const int CI_ByteSize = sizeof(TypeChar);
public:
typedef TypeChar char_type ; // for stl
typedef TypeInt int_type ; // for stl
typedef TypeChar char_type ; // for stl string/wstring
typedef TypeInt int_type ; // for stl string/wstring
public:
};/*
template<> class ZtCCharType<std::wstring>*/

View File

@ -149,9 +149,7 @@ namespace ZNsMain
TTypCh, TAlloc, TAllocSize, TTypeString
>
/*/////////////////////////////////*/ TypeCStr ;
public:
typedef TTypCh /*//////////////////*/ TypeChar ;
public:
static const int CI_ByteSize = sizeof(TypeChar) ;
public:
typedef typename