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

#include <traits.h>

Static Public Member Functions

static auto get (std::vector< T > const &product)
 

Detailed Description

template<typename T, typename A>
struct art::MaybeGetView< std::vector< T, A > >

Definition at line 168 of file traits.h.

Member Function Documentation

template<typename T , typename A >
static auto art::MaybeGetView< std::vector< T, A > >::get ( std::vector< T > const &  product)
inlinestatic

Definition at line 170 of file traits.h.

171  {
172  std::vector<void const*> view;
173  cet::transform_all(product, back_inserter(view), address_of<T>);
174  return view;
175  }
auto transform_all(Container &, OutputIt, UnaryOp)

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