...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::matches_fun — The regex matching functor.
// In header: <boost/log/utility/functional/matches.hpp> struct matches_fun { // types typedef bool result_type; // member classes/structs/unions // A traits to obtain the tag of the expression. template<typename ExpressionT> struct match_traits { // types typedef unspecified tag_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; };