Library: Util
Package: Units
Header: Poco/Util/Units.h
Counts the power of the Unit Term in Units T1 and T2. Reports if they are equal, using equality of fractions. Does a depth-first search of the Unit "Term", or counts the terms in the default case.
typedef CountTerms < Term, T1 > count1;
typedef CountTerms < Term, T2 > count2;