Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template matches

boost::log::expressions::matches

Synopsis

// In header: <boost/log/expressions/predicates/matches.hpp>


template<typename DescriptorT, template< typename > class ActorT, 
         typename RegexT> 
  unspecified matches(attribute_keyword< DescriptorT, ActorT > const &, 
                      RegexT const & rex);

Description

The function generates a terminal node in a template expression. The node will check if the attribute value, which is assumed to be a string, matches the specified regular expression.


PrevUpHomeNext