apply_visitor
A method that allows you to access the summary information values in their original type through a visitor pattern.
To access the values, you must create a visitor class, with methods that can handle the possible item value types. Then you pass this class to apply_visitor
, which establishes the correct type and calls the applicable member function on your visitor.
Syntax
template< typename ReturnT > ReturnT apply_visitor(SummaryInfoVisitorBase< ReturnT >&) const;