#include <Quantity.h>
Static Public Member Functions | |
const int | index (const std::string &symbol) |
member function result is a recursive template; checks the Head of UL; if unitstring is found as the symbol, 0 is returned; if the Head of UL does not correspond to symbol, the function is applied to the Tail of UL; on return add 1 to the return value; use preferably from inside Quantity, use from user code is not recommended; recursion prohibits to make result private.
Definition at line 107 of file Quantity.h.
|
Definition at line 110 of file Quantity.h. |