![]() |
Home | Libraries | People | FAQ | More |
Has the form:
p[f]
where f is a function with the signatures:
void f(Attr const&); void f(Attr const&, Context&); void f(Attr const&, Context&, bool&);
You can use Boost.Bind to bind member functions. For function objects, the allowed signatures are:
void operator()(Attr const&, unused_type, unused_type) const; void operator()(Attr const&, Context&, unused_type) const; void operator()(Attr const&, Context&, bool&) const;
The unused_type is used in the signatures above to signify 'don't care'.