Generic functor to get the weight from an object.
More...
#include <Weight.h>
|
| operator FunctorTag () |
| Marker function for the isFunctor test.
|
|
template<class T , class SFINAE = decltype(&T::getWeight)> |
Weight | operator() (const T &t) const |
| Returns the weight of an object.
|
|
Generic functor to get the weight from an object.
Definition at line 23 of file Weight.h.
◆ operator()()
Weight operator() |
( |
const T & |
t | ) |
const |
|
inline |
Returns the weight of an object.
Definition at line 29 of file Weight.h.
30 {
31 return t.getWeight();
32 }
The documentation for this struct was generated from the following file:
- tracking/trackFindingCDC/numerics/include/Weight.h