An attribute value presence checker. More...
#include <has_attr.hpp>
Public Types | |
typedef bool | result_type |
Function result_type. More... | |
typedef T | value_type |
Expected attribute value type. More... | |
Public Member Functions | |
has_attribute (attribute_name const &name) | |
Initializing constructor. More... | |
template<typename ArgT > | |
result_type | operator() (ArgT const &arg) const |
Checking operator. More... | |
An attribute value presence checker.
typedef bool boost::expressions::has_attribute< T >::result_type |
Function result_type.
typedef T boost::expressions::has_attribute< T >::value_type |
Expected attribute value type.
|
inlineexplicit |
Initializing constructor.
name | Attribute name |
|
inline |
Checking operator.
arg | A set of attribute values or a log record |
true
if the log record contains the sought attribute value, false
otherwise References boost::visitation_result::ok.
Referenced by boost::expressions::has_attribute< void >::operator()().