public:
EqualTo(const K key) : a_key(key) {;}
EqualTo(const EqualTo<K, T>& other) : a_key(other.a_key) {;}
- bool operator()(T* t) const throw() { return *t == a_key; }
- bool operator()(const T* t) const throw() { return *t == a_key; }
+ bool operator()(T* t) const { return *t == a_key; }
+ bool operator()(const T* t) const { return *t == a_key; }
private:
const K a_key;