removed GetBegin,GetEnd of List<>
This commit is contained in:
parent
03e66d7050
commit
add5fe2372
@ -27,9 +27,6 @@ namespace hgl
|
|||||||
T * GetData ()const{return items;} ///<提供原始数据项
|
T * GetData ()const{return items;} ///<提供原始数据项
|
||||||
int GetBytes ()const{return count*sizeof(T);} ///<取得原始数据总字节数
|
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 * begin ()const{return items;}
|
||||||
T * end ()const{return items+count;}
|
T * end ()const{return items+count;}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user