emlabcpp
modern opinionated embedded C++ library
|
Hash of quantity is hash of it's value and Derived::get_unit() xored. More...
#include <quantity.h>
Public Member Functions | |
std::size_t | operator() (T q) const |
Hash of quantity is hash of it's value and Derived::get_unit() xored.
|
inline |
TODO: this should be rewritten 'reverse' the prefix+unit info in bits and than xor it with number