Re: [Boost-bugs] [Boost C++ Libraries] #10112: improved shared_ptr visualizer and weak_ptr

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10112: improved shared_ptr visualizer and weak_ptr
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-11 11:13:22


#10112: improved shared_ptr visualizer and weak_ptr
----------------------------------+---------------------------
  Reporter: murray read at ccdc | Owner: matias
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: Documentation
   Version: Boost 1.54.0 | Severity: Optimization
Resolution: | Keywords:
----------------------------------+---------------------------

Comment (by anonymous):

 Seems to be better still if you use $e rather than $c - iterators and
 function returns are now expanded.

 {{{
 ;------------------------------------------------------------------------------
 ; boost::shared_ptr
 ;------------------------------------------------------------------------------

 boost::shared_ptr<*>{
         preview
         (
                 ($T1 *)$e.px
         )
         children
         (
                 #(
                         ptr: (($T1 *)$e.px) ,
                         use_count: $e.pn.pi_->use_count_ ,
                         weak_count: $e.pn.pi_->weak_count_
                 )
         )
 }

 ;------------------------------------------------------------------------------
 ; boost::weak_ptr
 ;------------------------------------------------------------------------------

 boost::weak_ptr<*>{
         preview
         (
                 ($T1 *)$e.px
         )
         children
         (
                 #(
                         ptr: (($T1 *)$e.px) ,
                         use_count: $e.pn.pi_->use_count_ ,
                         weak_count: $e.pn.pi_->weak_count_
                 )
         )
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10112#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC