LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ensurePointer.h File Reference
#include "canvas/Utilities/Exception.h"
#include "cetlib_except/demangle.h"
#include <iterator>
#include <type_traits>

Go to the source code of this file.

Classes

struct  art::detail::are_cv_compatible< T1, T2 >
 
struct  art::detail::EnsurePointer< TO, FROM >
 
struct  art::detail::EnsurePointer< TO, PFROM * >
 

Namespaces

 art
 
 art::detail
 

Functions

template<typename WANTED_POINTER , typename InputIterator >
WANTED_POINTER art::ensurePointer (InputIterator it)
 
template<typename TO , typename FROM >
constexpr std::enable_if_t< are_cv_compatible< TO, FROM >::value, std::add_pointer_t< std::remove_pointer_t< TO > > > art::detail::addr (FROM &from)
 
template<typename TO , typename FROM >
constexpr std::enable_if_t<!are_cv_compatible< TO, FROM >::value &&are_cv_compatible< FROM, TO >::value, std::add_pointer_t< std::remove_pointer_t< TO > > > art::detail::addr (FROM &from)