Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:19

0001 #ifndef GENERS_INSERTCONTAINERITEM_HH_
0002 #define GENERS_INSERTCONTAINERITEM_HH_
0003 
0004 #include <cstddef>
0005 
0006 namespace gs {
0007   template <typename T>
0008   struct InsertContainerItem {
0009     static inline void insert(T &obj, const typename T::value_type &item, const std::size_t /* itemNumber */) {
0010       obj.push_back(item);
0011     }
0012   };
0013 }  // namespace gs
0014 
0015 #endif  // GENERS_INSERTCONTAINERITEM_HH_