boost::log::matches_fun — The regex matching functor.
// In header: <boost/log/utility/functional/matches.hpp> struct matches_fun { // types typedef bool result_type; // public member functions template<typename StringT, typename ExpressionT> bool operator()(StringT const &, ExpressionT const &) const; template<typename StringT, typename ExpressionT, typename ArgT> bool operator()(StringT const &, ExpressionT const &, ArgT const &) const; };