stl中**this
看到stl代码中,有对 -> 和 *
的重载,而且对 **
this 和 &**
this 不是太理解。反汇编看到如下代码就理解了
return ((reference)**(_Mybase *)this);
004345A3 mov ecx,dword ptr [this] //*this
004345A6 call std::_Vector_const_iterator<int,std::allocator<int> >::operator* (4310E5h)
如果去掉一个 *
return ((reference)*(_Mybase *)this);
00434593 mov eax,dword ptr [this]