CMS 3D CMS Logo

List of all members | Static Public Member Functions
cond::serialization::equal_tuple< N, Ts > Struct Template Reference

#include <Equal.h>

Static Public Member Functions

static bool equal_ (const std::tuple< Ts... > &first, const std::tuple< Ts... > &second)
 

Detailed Description

template<std::size_t N, typename... Ts>
struct cond::serialization::equal_tuple< N, Ts >

Definition at line 103 of file Equal.h.

Member Function Documentation

template<std::size_t N, typename... Ts>
static bool cond::serialization::equal_tuple< N, Ts >::equal_ ( const std::tuple< Ts... > &  first,
const std::tuple< Ts... > &  second 
)
inlinestatic

Definition at line 105 of file Equal.h.

References cond::serialization::equal().

106  {
107  if (not equal(std::get<N - 1>(first), std::get<N - 1>(second)))
108  return false;
109 
111  }
static bool equal_(const std::tuple< Ts... > &first, const std::tuple< Ts... > &second)
Definition: Equal.h:105
bool equal(const T &first, const T &second)
Definition: Equal.h:34
U second(std::pair< T, U > const &p)