Declaration of memory related utilities.
Definition in file memutils.hpp.
Include dependency graph for memutils.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mm::deep_copy_unique_ptr< T > |
| Unique pointer with polymorphic deep copy semantics. More... | |
Namespaces | |
| mm | |
| Root namespace for the whole library. | |
Functions | |
| std::string | mm::mem2str (std::size_t bytes) |
| Simple function to help format memory amounts for printing. More... | |
| template<typename container_t > | |
| std::size_t | mm::mem_used (const container_t &v) |
| Returns number of bytes the container uses in memory. More... | |