...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::expressions::attribute_matches
// In header: <boost/log/expressions/predicates/matches.hpp> template<typename T, typename RegexT, typename FallbackPolicyT = fallback_to_none> class attribute_matches { public: // construct/copy/destruct attribute_matches(attribute_name const &, RegexT const &); template<typename U> attribute_matches(attribute_name const &, RegexT const &, U const &); };
The predicate checks if the attribute value matches a regular expression. The attribute value is assumed to be of a string type.
attribute_matches
public
construct/copy/destructattribute_matches(attribute_name const & name, RegexT const & rex);
Initializing constructor
Parameters: |
|
template<typename U> attribute_matches(attribute_name const & name, RegexT const & rex, U const & arg);
Initializing constructor
Parameters: |
|