template < typename Term, typename List >

struct CountTerms

Library: Util
Package: Units
Header: Poco/Util/Units.h


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).


den static

static const int den = 1;

num static

static const int num = 0;