Static Public Member Functions | List of all members
art::MaybeGetView< T, std::enable_if_t< has_getView< T >::value > > Struct Template Reference

#include <traits.h>

Static Public Member Functions

static auto get (T const &product)
 

Detailed Description

template<typename T>
struct art::MaybeGetView< T, std::enable_if_t< has_getView< T >::value > >

Definition at line 159 of file traits.h.

Member Function Documentation

template<typename T >
static auto art::MaybeGetView< T, std::enable_if_t< has_getView< T >::value > >::get ( T const &  product)
inlinestatic

Definition at line 161 of file traits.h.

162  {
163  return product.getView();
164  }

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