Namespaces | Functions
pointersEqual.h File Reference
#include "canvas/Utilities/Exception.h"
#include <type_traits>

Go to the source code of this file.

Namespaces

 art
 

Functions

template<typename T1 , typename T2 >
std::enable_if_t< std::is_same< T1, T2 >::value||std::is_base_of< T1, T2 >::value||std::is_base_of< T2, T1 >::value, boolart::pointersEqual (T1 *t1, T2 *t2)
 
template<typename T1 , typename T2 >
std::enable_if_t<!std::is_same< T1, T2 >::value &&!std::is_base_of< T1, T2 >::value &&!std::is_base_of< T2, T1 >::value, boolart::pointersEqual (T1 *, T2 *)