libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ _M_free_tree()

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_free_tree ( )
inherited

Definition at line 368 of file ropeimpl.h.

370 {
371 switch(_M_tag)
372 {
374 {
377 __l->_Rope_RopeLeaf<_CharT, _Alloc>::~_Rope_RopeLeaf();
378 this->_L_deallocate(__l, 1);
379 break;
380 }
382 {
385 __c->_Rope_RopeConcatenation<_CharT, _Alloc>::
386 ~_Rope_RopeConcatenation();
387 this->_C_deallocate(__c, 1);
388 break;
389 }
391 {
394 __f->_Rope_RopeFunction<_CharT, _Alloc>::~_Rope_RopeFunction();
395 this->_F_deallocate(__f, 1);
396 break;
397 }
399 {
402 __ss->_Rope_RopeSubstring<_CharT, _Alloc>::
403 ~_Rope_RopeSubstring();
404 this->_S_deallocate(__ss, 1);
405 break;
406 }
407 }
408 }
static void _F_deallocate(__F *__p, size_type __n)
Definition rope:598
static void _L_deallocate(__L *__p, size_type __n)
Definition rope:598
static void _S_deallocate(__S *__p, size_type __n)
Definition rope:598
static void _C_deallocate(__C *__p, size_type __n)
Definition rope:598
__detail::_Tag _M_tag
Definition rope:610

References __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::_C_deallocate(), __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::_F_deallocate(), __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::_L_deallocate(), _M_tag, __gnu_cxx::__detail::_S_concat, __gnu_cxx::_Rope_rep_base< _CharT, _Alloc >::_S_deallocate(), __gnu_cxx::__detail::_S_function, __gnu_cxx::__detail::_S_leaf, and __gnu_cxx::__detail::_S_substringfn.

Referenced by _M_unref_nonnil(), and _S_free_if_unref().

Here is the call graph for this function:
Here is the caller graph for this function: