A function class to query attributes. More...
#include <semantics.hh>


Public Member Functions | |
| bool | operator() (Attribute attrib) const |
| Application operator. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
A function class to query attributes.
Its application operator returns true if the attribute is nonzero.
Definition at line 33 of file semantics.hh.
| virtual std::ostream& concepts::AttributeBool::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::Semantics< bool >.
| bool concepts::AttributeBool::operator() | ( | Attribute | attrib | ) | const [virtual] |
Application operator.
Implements concepts::Semantics< bool >.