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: 2010-05-13 19:54:09


#4209: Visualizer VS 2008 to boost::unordered_map
-----------------------------------+----------------------------------------
 Reporter: fernandoofj@… | Owner: danieljames
     Type: Feature Requests | Status: new
Milestone: Boost 1.43.0 | Component: unordered
  Version: Boost 1.42.0 | Severity: Cosmetic
 Keywords: |
-----------------------------------+----------------------------------------

Comment(by fernandoofj@…):

 I made this script below for AutoExp.dat and this works for simple cases,
 however, it dont works for these cases (bold):

 '''boost::unordered_map<unsigned int, boost::unordered_map<unsigned int,
 int>>
 boost::unordered_map<unsigned int, std::list<int>>'''

 --> Script <--

 boost::unordered_map<*,*,*,*,*>{

         preview
         (
                 #(
                         "[", $e.table_.size_, "](",
                         #array
                         (
                                 expr : $e.table_.buckets_[$i],
                                 size : $e.table_.bucket_count_,
                         ) : #(
                                 #array (
                                         expr: $e,
                                         size: $e.next_ != 0
                                 ) : #(
                                         #list(
                                                 head : $e.next_,
                                                 next : next_
                                         ) : ((std::pair<$T1 const ,$T2>
 *)(boost::unordered_detail::value_base<std::pair<$T1 const ,$T2> >
 *)(boost::unordered_detail::hash_node<std::allocator<std::pair<$T1 const
 ,$T2> >,boost::unordered_detail::ungrouped> *)&$e)
                                 )
                         ),")"
                 )
         )

         children
         (
                 #(
                         [raw members]: [$c,!],
                         #array
                         (
                                 expr : $e.table_.buckets_[$i],
                                 size : $e.table_.bucket_count_,
                         ) : #(
                                 #array (
                                         expr: $e,
                                         size: $e.next_ != 0
                                 ) : #(
                                         #list(
                                                 head : $e.next_,
                                                 next : next_
                                         ) : ((std::pair<$T1 const ,$T2>
 *)(boost::unordered_detail::value_base<std::pair<$T1 const ,$T2> >
 *)(boost::unordered_detail::hash_node<std::allocator<std::pair<$T1 const
 ,$T2> >,boost::unordered_detail::ungrouped> *)&$e))

                                 )
                         )
                 )
         )
 }

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