Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct is_equal

boost::algorithm::is_equal — is_equal functor

Synopsis

// In header: <boost/algorithm/string/compare.hpp>


struct is_equal {

  // public member functions
  template<typename T1, typename T2> 
     (, ) ;
};

Description

Standard STL equal_to only handle comparison between arguments of the same type. This is a less restrictive version which wraps operator ==.

is_equal public member functions

  1. template<typename T1, typename T2> 
       ( Arg1,  Arg2) ;
    Function operator.

    Compare two operands for equality


PrevUpHomeNext