Re: [Boost-bugs] [Boost C++ Libraries] #4209: Visualizer VS 2008 to boost::unordered_map

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4209: Visualizer VS 2008 to boost::unordered_map
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-07 10:00:12


#4209: Visualizer VS 2008 to boost::unordered_map
-------------------------------+-------------------------
  Reporter: fernandoofj@… | Owner: danieljames
      Type: Feature Requests | Status: closed
 Milestone: To Be Determined | Component: unordered
   Version: Boost 1.42.0 | Severity: Cosmetic
Resolution: wontfix | Keywords:
-------------------------------+-------------------------

Comment (by teolazza@…):

 Here is my version. I've tested it on VS2010, SP1 and with boost 1.61.0
 {{{
 ;------------------------------------------------------------------------------
 ; boost unordered collections
 ;------------------------------------------------------------------------------
 boost::unordered::unordered_map<*,*,*,*,*>{
     preview (
     #(
         "[",
         $e.table_.size_,
         "](",
         #list(
             head: $e.table_.buckets_[$e.table_.bucket_count_].next_,
             size: $e.table_.size_,
             next: next_
         ) : #(*((std::pair<$T1 const
 ,$T2>*)&(*(boost::unordered::detail::ptr_node<std::pair<$T1 const ,$T2> >
 *)(&$e)).value_base_)),
         ")"
     ))
     children(
     #(
         size: ($e.table_.size_),
         #list(
             head: $e.table_.buckets_[$e.table_.bucket_count_].next_,
             size: $e.table_.size_,
             next: next_
         ) : #(*((std::pair<$T1 const
 ,$T2>*)&(*(boost::unordered::detail::ptr_node<std::pair<$T1 const ,$T2> >
 *)(&$e)).value_base_)),
     ))
 }


 boost::unordered::unordered_set<*,*,*,*>{
     preview (
     #(
         "[",
         $e.table_.size_,
         "](",
         #list(
             head: $e.table_.buckets_[$e.table_.bucket_count_].next_,
             size: $e.table_.size_,
             next: next_
         ) :
 #(*(($T1*)&((*(boost::unordered::detail::ptr_node<$T1>*)(&$e)).value_base_))),
         ")"
     ))
     children(
     #(
         size: ($e.table_.size_),
         #list(
             head: $e.table_.buckets_[$e.table_.bucket_count_].next_,
             size: $e.table_.size_,
             next: next_
         ) :
 #(*(($T1*)&((*(boost::unordered::detail::ptr_node<$T1>*)(&$e)).value_base_))),
     ))
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4209#comment:16>
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:20 UTC