MCPcopy Create free account
hub / github.com/ablab/spades / is_equal

Class is_equal

ext/include/boost/algorithm/string/compare.hpp:34–45  ·  view source on GitHub ↗

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 ==. */

Source from the content-addressed store, hash-verified

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 /*!

Callers 7

first_finderFunction · 0.85
last_finderFunction · 0.85
nth_finderFunction · 0.85
starts_withFunction · 0.85
ends_withFunction · 0.85
containsFunction · 0.85
equalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected