From add5fe2372bd65b2f34cd3f86cf6a74d9cb266ce Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Tue, 6 Jun 2023 15:06:57 +0800 Subject: [PATCH] removed GetBegin,GetEnd of List<> --- inc/hgl/type/List.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/inc/hgl/type/List.h b/inc/hgl/type/List.h index a15ccd6..2566129 100644 --- a/inc/hgl/type/List.h +++ b/inc/hgl/type/List.h @@ -27,9 +27,6 @@ namespace hgl T * GetData ()const{return items;} ///<提供原始数据项 int GetBytes ()const{return count*sizeof(T);} ///<取得原始数据总字节数 - T * GetBegin (){return (items&&count>0)?items:nullptr;} ///<取得第一个数据项指针 - T * GetEnd (){return (items&&count>0)?items+count-1:nullptr;} ///<取得最后一个数据项指针 - T * begin ()const{return items;} T * end ()const{return items+count;}