| 657 | |
| 658 | template<typename F> |
| 659 | bool contains(const F& f) const |
| 660 | { |
| 661 | if (const F* fp = this->template target<F>()) |
| 662 | { |
| 663 | return function_equal(*fp, f); |
| 664 | } else { |
| 665 | return false; |
| 666 | } |
| 667 | } |
| 668 | |
| 669 | #if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ <= 3 |
| 670 | // GCC 3.3 and newer cannot copy with the global operator==, due to |
nothing calls this directly
no test coverage detected