edit test.cpp

This commit is contained in:
2021-03-08 22:09:33 +09:00
parent b44c711708
commit eebfc2db5e
4 changed files with 12 additions and 43 deletions

View File

@ -2375,16 +2375,16 @@ namespace ZNsMain
template<typename TType> class ZtCTypeData
{ public: typedef TType TypeData;
static TType& GetObjRef(TType& AR_Type ){return AR_Type;}};
static TType& GetObjRef(TType& AR_Type){return AR_Type ;}};
template<typename TType> class ZtCTypeData<TType*>
{ public: typedef TType TypeData;
static TType& GetObjRef(TType* AP_Type){return *AP_Type;}};
template<typename TType> class ZtCTypeData<TType&>
{ public: typedef TType TypeData;
static TType& GetObjRef(TType& AR_Type ){return AR_Type;}};
static TType& GetObjRef(TType& AR_Type){return AR_Type ;}};
template<> class ZtCTypeData<void*>
{ public: typedef void* TypeData;
static void* GetObjRef(void* AP_Void){return AP_Void;}};
static void* GetObjRef(void* AP_Void){return AP_Void ;}};
/*////////////////////////////////////////////////////////////////////////////////