class PrettyWrappedValue
Defined at line 302 of file ../../src/developer/debug/zxdb/expr/pretty_type.h
Pretty-printer for a value inside some kind of container. This acts like a smart pointer but the
contained value isn't a pointer. This is for things like std::atomic or std::reference_wrapper.
Currently this is formatted like "typename(value)". For some types it might be nice to format
them just as the value, but the confusing part is that it won't behave exactly like the value in
expressions.
This adds the ability to dereference with |*foo|.
Public Methods
void PrettyWrappedValue (const std::string & name, const std::string & open_bracket, const std::string & close_bracket, const std::string & expression)
Defined at line 304 of file ../../src/developer/debug/zxdb/expr/pretty_type.h
void Format (FormatNode * node, const FormatOptions & options, const fxl::RefPtr<EvalContext> & context, fit::deferred_callback cb)
Defined at line 693 of file ../../src/developer/debug/zxdb/expr/pretty_type.cc
EvalFunction GetDereferencer ()
Defined at line 705 of file ../../src/developer/debug/zxdb/expr/pretty_type.cc