equal_ptr Struct Template Reference
[Functional Library]

#include <stlsoft/functional/equal_ptr.hpp>

List of all members.


Detailed Description

template<typename P, typename A = P const&>
struct stlsoft::equal_ptr< P, A >

Predicate used to test the equivalence of pointers.

Public Member Functions

 equal_ptr (P t)
bool operator() (A p) const
 Returns true if the given instance's underlying pointer is equal to that of the contained pointer.

Member Function Documentation

bool operator() ( p  )  const [inline]

Returns true if the given instance's underlying pointer is equal to that of the contained pointer.

References stlsoft::get_ptr(), and stlsoft_ns_qual.


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

Generated on Thu Jun 10 08:58:46 2010 for STLSoft by  doxygen 1.5.6