SBDQuantityProduct2< Quantity1, Quantity2 > Class Template Reference

This template class is used to compute the product of two quantity types. More...

Detailed Description

template<typename Quantity1, typename Quantity2>
class SBDQuantityProduct2< Quantity1, Quantity2 >

Template Parameters
Quantity1The first quantity type
Quantity2The second quantity type

This template is used to define the product of two quantity types.

// declare a variable in moles.seconds
SBQuantityProduct2<SBQuantity::mole,SBQuantity::second>::Type b;

The typedef Type is the quantity type of the product of the two quantity types Quantity1 and Quantity2.

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

Short name: SBQuantityProduct2

See also
SAMSON's unit system