_Deque_base<_Tp,_Alloc >::~_Deque_base() { if (_M_map._M_data) { _M_destroy_nodes(_M_start._M_node, this->_M_finish._M_node + 1); _M_map.deallocate(_M_map._M_data, _M_map_size._M_data); } }
void _Deque_base<_Tp,_Alloc>::_M_create_nodes(_Tp** __nstart, _Tp** __nfinish) { _Tp** __cur; _STLP_TRY { for (__cur = __nstart; __cur < __nfinish; ++__cur) *__cur = _M_map_size.allocate(this->buffer_size()); } _STLP_UNWIND(_M_destroy_nodes(__nstart, __cur)); }