s11n::same_name< NameableT > Struct Template Reference
Functor to return true if given NameableT objects match a certain name.
More...
#include <functor.h>
List of all members.
|
Public Types |
typedef NameableT | nameable_type |
Public Member Functions |
| same_name (const std::string &n) |
bool | operator() (const nameable_type *x) const |
Detailed Description
template<typename NameableT>
struct s11n::same_name< NameableT >
Functor to return true if given NameableT objects match a certain name.
NameableT must support:
std::string name() const;
This class is admitedly to avoid the use of bind1st/bind2nd :/.
Definition at line 412 of file functor.h.
The documentation for this struct was generated from the following file:
Generated on Tue Oct 26 18:26:00 2004 for s11n by
1.3.9.1