commit 2025-10-09 13:30 add ZtCCharType< ZtCStringStd<TTypeBaseStr> > : ZCppMain/ZtCStringStd.H
This commit is contained in:
@ -11,6 +11,33 @@
|
||||
namespace ZNsMain
|
||||
{
|
||||
|
||||
|
||||
template<typename TTypString> class ZtCStringStd;
|
||||
|
||||
|
||||
template //////////////////////////////////////////////////////////////////
|
||||
<
|
||||
template<typename> class ZtCStringStd, typename TTypeBaseStr
|
||||
>
|
||||
/*#######################################################################*/
|
||||
class ZtCCharType< ZtCStringStd<TTypeBaseStr> >
|
||||
{
|
||||
public:
|
||||
typedef ZtCStringStd<TTypeBaseStr> TypeCStr ;
|
||||
typedef typename TypeCStr::traits_type::char_type TypeChar ;
|
||||
typedef typename TypeCStr::traits_type::int_type TypeInt ;
|
||||
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
static const int CI_ByteSize = sizeof(TypeChar) ;
|
||||
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
public:
|
||||
typedef TypeChar char_type ; // for stl string/wstring
|
||||
typedef TypeInt int_type ; // for stl string/wstring
|
||||
public:
|
||||
};/*
|
||||
class ZtCCharType /*#####################################################*/
|
||||
|
||||
|
||||
|
||||
template
|
||||
< typename TTypString = std::string >
|
||||
class ZtCStringStd : public TTypString
|
||||
|
Reference in New Issue
Block a user