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

View File

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