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

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_09_01/source/canvas/Utilities/ensurePointer.h"

Public Member Functions

constexpr TO operator() (PFROM *from) const
 

Detailed Description

template<typename TO, typename PFROM>
struct art::detail::EnsurePointer< TO, PFROM * >

Definition at line 65 of file ensurePointer.h.

Member Function Documentation

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

Definition at line 67 of file ensurePointer.h.

68  {
69  return detail::addr<TO>(*from);
70  }

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