给cntrPtr指针添加底层const属性
This commit is contained in:
1 parent
f571cc8368
commit
cc705c7316
1 file changed
+2
-1
+2
-1
@@ -17,7 +17,8 @@ namespace TinySTL{
|
||||
template<class T, class Alloc>
|
||||
friend class deque;
|
||||
private:
|
||||
typedef TinySTL::deque<T>* cntrPtr;
|
||||
//typedef TinySTL::deque<T>* cntrPtr;
|
||||
typedef const TinySTL::deque<T>* cntrPtr;
|
||||
size_t mapIndex_;
|
||||
T *cur_;
|
||||
cntrPtr container_;
|
||||
|
||||
Reference in new issue
Block a user