Public Member Functions | List of all members
art::detail::EnsurePointer< TO, FROM > Struct Template Reference

#include <ensurePointer.h>

Public Member Functions

constexpr TO operator() (FROM &from) const
 
constexpr TO operator() (FROM const &from) const
 

Detailed Description

template<typename TO, typename FROM>
struct art::detail::EnsurePointer< TO, FROM >

Definition at line 51 of file ensurePointer.h.

Member Function Documentation

template<typename TO , typename FROM >
constexpr TO art::detail::EnsurePointer< TO, FROM >::operator() ( FROM &  from) const
inline

Definition at line 53 of file ensurePointer.h.

54  {
55  return addr<TO>(from);
56  }
template<typename TO , typename FROM >
constexpr TO art::detail::EnsurePointer< TO, FROM >::operator() ( FROM const &  from) const
inline

Definition at line 58 of file ensurePointer.h.

59  {
60  return addr<TO>(from);
61  }

The documentation for this struct was generated from the following file: