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

#include <Ptr.h>

Public Member Functions

TO operator() (Ptr< PTRVAL > &from) const
 
TO operator() (Ptr< PTRVAL > const &from) const
 

Detailed Description

template<typename TO, typename PTRVAL>
struct art::detail::EnsurePointer< TO, Ptr< PTRVAL > >

Definition at line 326 of file Ptr.h.

Member Function Documentation

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

Definition at line 329 of file Ptr.h.

330  {
331  return addr<TO, PTRVAL const>(*from);
332  }
template<typename TO , typename PTRVAL >
TO art::detail::EnsurePointer< TO, Ptr< PTRVAL > >::operator() ( Ptr< PTRVAL > const &  from) const
inline

Definition at line 335 of file Ptr.h.

336  {
337  return addr<TO, PTRVAL const>(*from);
338  }

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