16 #ifndef TILEEVENT_TILERAWDATANONCONSTCONTAINER_H
17 #define TILEEVENT_TILERAWDATANONCONSTCONTAINER_H
33 template <
typename COLLECTION>
49 std::vector<std::unique_ptr<COLLECTION> >
m_colls;
53 template <
typename COLLECTION>
58 size_t ncoll = m_hashFunc.max();
59 m_colls.reserve (ncoll);
60 for (
size_t i = 0;
i < ncoll;
i++) {
62 m_colls.push_back (std::make_unique<COLLECTION> (frag, ownPolicy));
67 template <
typename COLLECTION>
70 int frag = rc->frag_ID();
72 assert (fragHash < m_colls.size());
73 m_colls[fragHash]->push_back (rc);
77 #endif // not TILEEVENT_TILERAWDATANONCONSTCONTAINER_H