pcl::IndirectEqual< TPtr > Class Template Reference

A functional class that tests two pointers for equality of the pointed objects. More...

#include <Indirect.h>

Public Member Functions

bool operator() (TPtr ptr1, TPtr ptr2) const

Detailed Description

template<class TPtr>
class pcl::IndirectEqual< TPtr >

Definition at line 277 of file Indirect.h.

Member Function Documentation

◆ operator()()

template<class TPtr >
bool pcl::IndirectEqual< TPtr >::operator() ( TPtr  ptr1,
TPtr  ptr2 
) const

Function call operator. Returns true iff *ptr1 == *ptr2.

If either of ptr1 or ptr2 is nullptr, no operation is performed on any pointed object and the return value is ptr1 == ptr2.

Definition at line 285 of file Indirect.h.

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