Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::TargetCompare< T, Compare > Struct Template Reference

Functor class that compares the contents of two smart pointers of the given type using the given comparator. More...

#include <Ice/Ice.h>

Public Member Functions

bool operator() (const T &lhs, const T &rhs) const
 Executes the functor to compare the contents of two smart pointers. More...
 

Detailed Description

template<typename T, template< typename > class Compare>
struct Ice::TargetCompare< T, Compare >

Functor class that compares the contents of two smart pointers of the given type using the given comparator.

Member Function Documentation

◆ operator()()

template<typename T , template< typename > class Compare>
bool Ice::TargetCompare< T, Compare >::operator() ( const T &  lhs,
const T &  rhs 
) const
inline

Executes the functor to compare the contents of two smart pointers.

Returns
True if the contents satisfy the given comparator, false otherwise.

The documentation for this struct was generated from the following file: