Public Member Functions | Private Attributes | List of all members
art::ComparePtrs< Comp > Class Template Reference

#include <PtrVector.h>

Public Member Functions

 ComparePtrs (Comp const comp)
 
template<typename T >
bool operator() (Ptr< T > const &a, Ptr< T > const &b)
 

Private Attributes

Comp comp_
 

Detailed Description

template<typename Comp>
class art::ComparePtrs< Comp >

Definition at line 27 of file PtrVector.h.

Constructor & Destructor Documentation

template<typename Comp >
art::ComparePtrs< Comp >::ComparePtrs ( Comp const  comp)
inline

Definition at line 29 of file PtrVector.h.

29 : comp_{comp} {}

Member Function Documentation

template<typename Comp >
template<typename T >
bool art::ComparePtrs< Comp >::operator() ( Ptr< T > const &  a,
Ptr< T > const &  b 
)
inline

Definition at line 32 of file PtrVector.h.

33  {
34  return comp_(*a, *b);
35  }
const double a
static bool * b
Definition: config.cpp:1043

Member Data Documentation

template<typename Comp >
Comp art::ComparePtrs< Comp >::comp_
private

Definition at line 38 of file PtrVector.h.


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