memory.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021 INRIA
3 //
4 
5 #ifndef HPP_FCL_SERIALIZATION_MEMORY_H
6 #define HPP_FCL_SERIALIZATION_MEMORY_H
7 
8 namespace hpp {
9 namespace fcl {
10 
11 namespace internal {
12 template <typename T>
14  static size_t run(const T &) { return sizeof(T); }
15 };
16 } // namespace internal
17 
24 template <typename T>
25 size_t computeMemoryFootprint(const T &object) {
27 }
28 
29 } // namespace fcl
30 } // namespace hpp
31 
32 #endif // ifndef HPP_FCL_SERIALIZATION_MEMORY_H
size_t computeMemoryFootprint(const T &object)
Returns the memory footpring of the input object. For POD objects, this function returns the result o...
Definition: memory.h:25
Main namespace.


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:01