#include "MRMeshFwd.h"
#include "MRMacros.h"
#include <vector>
#include <memory>
Go to the source code of this file.
|
template<typename T > |
size_t | MR::heapBytes (const std::vector< T > &vec) |
| returns the amount of memory given vector occupies on heap
|
|
template<typename T , typename U > |
size_t | MR::heapBytes (const Vector< T, U > &vec) |
|
template<typename T > |
size_t | MR::heapBytes (const std::unique_ptr< T > &ptr) |
| returns the amount of memory this smart pointer and its pointed object own together on heap
|
|
template<typename T > |
size_t | MR::heapBytes (const std::shared_ptr< T > &ptr) |
| returns the amount of memory this smart pointer and its pointed object own together on heap
|
|
template<typename T > |
| MR::MR_REQUIRES_IF_SUPPORTED (std::is_function_v< T >) inline size_t heapBytes(const std |
|
template<typename ... Ts> |
size_t | MR::heapBytes (const phmap::flat_hash_map< Ts... > &hashMap) |
| returns the amount of memory given HashMap occupies on heap
|
|