GetProduct.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Common_GetProduct_h
2 #define canvas_Persistency_Common_GetProduct_h
3 
4 namespace art::detail {
5  template <typename COLLECTION>
6  struct GetProduct {
8  static auto const*
10  {
11  return &*i;
12  }
13  static COLLECTION const*
14  product(COLLECTION const& coll)
15  {
16  return &coll;
17  }
18  };
19 }
20 
21 #endif /* canvas_Persistency_Common_GetProduct_h */
22 
23 // Local Variables:
24 // mode: c++
25 // End:
typename COLLECTION::const_iterator const_iterator
Definition: GetProduct.h:7
intermediate_table::const_iterator const_iterator
static auto const * address(const_iterator const &i)
Definition: GetProduct.h:9
static COLLECTION const * product(COLLECTION const &coll)
Definition: GetProduct.h:14