is_equal functor ! Standard STL equal_to only handle comparison between arguments of the same type. This is a less restrictive version which wraps operator ==. */
| 32 | of the same type. This is a less restrictive version which wraps operator ==. |
| 33 | */ |
| 34 | struct is_equal |
| 35 | { |
| 36 | //! Function operator |
| 37 | /*! |
| 38 | Compare two operands for equality |
| 39 | */ |
| 40 | template< typename T1, typename T2 > |
| 41 | bool operator()( const T1& Arg1, const T2& Arg2 ) const |
| 42 | { |
| 43 | return Arg1==Arg2; |
| 44 | } |
| 45 | }; |
| 46 | |
| 47 | //! case insensitive version of is_equal |
| 48 | /*! |
no outgoing calls
no test coverage detected