![]() |
boost::log::expressions::has_attribute
// In header: <boost/log/expressions/predicates/has_attr.hpp> template<typename T> class has_attribute { public: // types typedef bool result_type; // Function result_type. typedef T value_type; // Expected attribute value type. // public member functions explicit has_attribute(attribute_name const &); template<typename ArgT> result_type operator()(ArgT const &) const; };
An attribute value presence checker.
has_attribute
public member functionsexplicit has_attribute(attribute_name const & name);
Initializing constructor
Parameters: |
|
template<typename ArgT> result_type operator()(ArgT const & arg) const;
Checking operator
Parameters: |
|
||
Returns: |
|