Opened 15 years ago
Closed 14 years ago
#1666 closed Bugs (fixed)
Visualizer for boost::optional
Reported by: | anonymous | Owned by: | Fernando Cacciola |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | optional |
Version: | Boost 1.34.1 | Severity: | Optimization |
Keywords: | Cc: |
Description
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 (
"?"
)
)
} ;------------------------------------------------------------------------------
Change History (2)
comment:1 by , 15 years ago
Component: | None → optional |
---|---|
Owner: | set to |
Severity: | Problem → Optimization |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Already in repository