CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
cond::serialization::access< T, typename std::enable_if< std::is_pointer< T >::value >::type > Struct Template Reference

#include <Equal.h>

Static Public Member Functions

static bool equal_ (const T first, const T second)
 

Detailed Description

template<typename T>
struct cond::serialization::access< T, typename std::enable_if< std::is_pointer< T >::value >::type >

Definition at line 133 of file Equal.h.

Member Function Documentation

template<typename T >
static bool cond::serialization::access< T, typename std::enable_if< std::is_pointer< T >::value >::type >::equal_ ( const T  first,
const T  second 
)
inlinestatic

Definition at line 135 of file Equal.h.

References cond::serialization::equal(), or, and edm::second().

136  {
137  if (first == nullptr or second == nullptr)
138  return first == second;
139 
140  // Compare the addresses first -- even if equal() does not
141  // do it for all types, if we are serializing pointers we may
142  // have some use case of containers of pointers to a small
143  // set of real objects.
144  return first == second or equal(*first, *second);
145  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
bool equal(const T &first, const T &second)
Definition: Equal.h:34
U second(std::pair< T, U > const &p)