template struct Poco::Util::Units::Internal::CountTerms
Overview
Count the power to which Unit Term is raised in the Unit List. Moreā¦
#include <Units.h> template < typename Term, typename List > struct CountTerms { // fields static const int num; static const int den; };
Detailed Documentation
Count the power to which Unit Term is raised in the Unit List.
Returns a rational num/den of the power of term Term in List. The default assumes that Term is not found (num/den=0).