| 668 | |
| 669 | template<typename F> |
| 670 | bool contains(const F& f) const |
| 671 | { |
| 672 | if (const F* fp = this->template target<F>()) |
| 673 | { |
| 674 | return function_equal(*fp, f); |
| 675 | } else { |
| 676 | return false; |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | #if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ <= 3 |
| 681 | // GCC 3.3 and newer cannot copy with the global operator==, due to |
nothing calls this directly
no test coverage detected