SBDQuantityPower< p, Quantity > Class Template Reference

This template class is used to define powers of quantity types. More...

Detailed Description

template<int p, typename Quantity>
class SBDQuantityPower< p, Quantity >

Template Parameters
pThe power
QuantityThe quantity type

This template is used to define powers of quantity types.

SBQuantityPower<6,SBQuantity::picometer>::Type e; // e is expressed in picometer^6

The typedef Type is the quantity type of the p-th power of quantity type Quantity.

Please refer to the description of SAMSON's unit system for more information.

Short name: SBQuantityPower

See also
SAMSON's unit system