LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pointersEqual.h File Reference
#include "canvas/Utilities/Exception.h"
#include <type_traits>

Go to the source code of this file.

Namespaces

 art
 HLT enums.
 

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, bool > art::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, bool > art::pointersEqual (T1 *, T2 *)