...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::visit
// In header: <boost/log/attributes/value_visitation.hpp> template<typename DescriptorT, template< typename > class ActorT, typename VisitorT> visitation_result visit(expressions::attribute_keyword< DescriptorT, ActorT > const & keyword, record_view const & rec, VisitorT visitor);
The function applies a visitor to an attribute value from the view. The user has to explicitly specify the type or set of possible types of the attribute value to be visited.
Parameters: |
|
||||||
Returns: |
The result of visitation. |