
23 May
2007
23 May
'07
11:39 p.m.
David Deakins wrote:
Hi Jeff,
We have a handful of VS2005 visualizers for boost types. Here's what we use for boost::optional. Try plugging this into the [Visualizers] section of your autoexp.dat and see if it is the kind of thing you are looking for:
boost::optional<*>{ preview ( #if( !$c.m_initialized ) ( #( "Uninitialized" ) ) #else ( #( *($T1*)&$c.m_storage.dummy_.data[0] ) ) ) }
Dave, you have made my day. This is exactly what I need. It works perfectly! Now, how do people feel about an update to the documentation with this debugger-specific nugget? Do other debuggers have similar facilities? Jeff