[Boost-bugs] [Boost C++ Libraries] #1666: Visualizer for boost::optional

Subject: [Boost-bugs] [Boost C++ Libraries] #1666: Visualizer for boost::optional
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-03 16:11:24


#1666: Visualizer for boost::optional
-----------------------+----------------------------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-----------------------+----------------------------------------------------
 I propose to add the following visualizer for boost::optional (announced
 at
 2008-03-03 at the boost user newsgroup with the title "Better debugger
 support for boost::optional with VS2005 compiler") to your collection. It
 is tested for
 all boost versions in the following list

 1.30.0,
 1.31.0,
 1.32.0,
 1.33.0,
 1.33.1,
 1.34.1

 ;------------------------------------------------------------------------------
 ; Visualizer for boost::optional, boost::optional_detail::optional_base
 ;------------------------------------------------------------------------------

 boost::optional<*>|boost::optional_detail::optional_base<*> {
          preview
         (
                  #if($e.m_initialized)
                 (
                         *(($T1 *) (&$e.m_storage.dummy_.data[0]))
                 )
                 #else
                 (
                         "?"
                 )
         )

         children
         (
                  #if($e.m_initialized)
                 (
                         #(value:
                           *(($T1 *) (&$e.m_storage.dummy_.data[0]))
                         )
                 )
                 #else
                 (
                         "?"
                 )
         )
 }
 ;------------------------------------------------------------------------------

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1666>
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:49:57 UTC