16#ifndef dealii_hp_collection_h
17#define dealii_hp_collection_h
53 push_back(
const std::shared_ptr<const T> &new_entry);
81 std::vector<std::shared_ptr<const T>>
entries;
102 entries.push_back(new_entry);
107 template <
typename T>
111 return entries.size();
116 template <
typename T>
120 return *entries[index];
void push_back(const std::shared_ptr< const T > &new_entry)
std::vector< std::shared_ptr< const T > > entries
unsigned int size() const
std::size_t memory_consumption() const
const T & operator[](const unsigned int index) const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertIndexRange(index, range)
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)