#include <algo.hpp>
Public Types | |
typedef NodeT | node_type |
typedef ::s11n::node_traits< NodeT > | traits_t |
Public Member Functions | |
same_name (const std::string &n) | |
bool | operator() (const node_type *x) const |
NodeT must be compatible with node_traits<NodeT>.
This class is admittedly to avoid the use of bind1st/bind2nd :/.
Definition at line 406 of file algo.hpp.
typedef NodeT s11n::Detail::same_name< NodeT >::node_type |
typedef ::s11n::node_traits< NodeT > s11n::Detail::same_name< NodeT >::traits_t |
s11n::Detail::same_name< NodeT >::same_name | ( | const std::string & | n | ) | [inline, explicit] |
bool s11n::Detail::same_name< NodeT >::operator() | ( | const node_type * | x | ) | const [inline] |