24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 28 #ifndef SINGLY_LINKED_LIST_H 29 #include "SheafSystem/singly_linked_list.h" 32 #ifndef STD_UNORDERED_SET_H 33 #include "SheafSystem/std_unordered_set.h" 53 size_t operator()(
const T& t)
const 66 bool operator()(
const T& t1,
const T& t2)
const 82 friend size_t deep_size<T>(
const list_pool<T>& xpool,
bool xinclude_shallow);
114 void release(T& xobj);
119 bool allocated(
const T& xobj)
const;
124 size_type ct()
const;
138 typedef unordered::unordered_set<T*, ptr_hash<T*>,
ptr_key_test<T*> > allocated_type;
148 free_list_type _free_list;
153 allocated_type _allocated;
165 template <
typename T>
170 #endif // ifndef LIST_POOL_H Hash function for pointers.
Hash set key test for a pointer to type T.
SHEAF_DLL_SPEC size_t deep_size(const dof_descriptor_array &xp, bool xinclude_shallow=true)
The deep size of the referenced object of type dof_descriptor_array.
Namespace for the sheaves component of the sheaf system.
unsigned long int size_type
An unsigned integral type used to represent sizes and capacities.
A reallocated pool of objects of type T. Objects in the pool are either allocated or stored in a free...