#include <Generic.h>
Static Public Member Functions | |
static ST | exec (const typename BSUtilities::IF< SameDimensioned< M< Quantity< GenericClass< DIM >, ST >, DerivedQuantity< GenericClass< DIM >, SU, DQT > >, SM< Quantity< SQT, SST >, DerivedQuantity< SQT, SSU, SDQT > > >::EQ, SM< Quantity< SQT, SST >, DerivedQuantity< SQT, SSU, SDQT > >, DimensionError< true > >::RET &quantity) |
partial specialization of template defined in Quantity.h; checks that the dimensions of the two quantities are the same, if not a DimensionError<true> is emitted, otherwise the correct type of the function argument is generated.
Definition at line 301 of file Generic.h.
static ST quantity::convertValue< M< Quantity< GenericClass< DIM >, ST >, DerivedQuantity< GenericClass< DIM >, SU, DQT > >, SM< Quantity< SQT, SST >, DerivedQuantity< SQT, SSU, SDQT > > >::exec | ( | const typename BSUtilities::IF< SameDimensioned< M< Quantity< GenericClass< DIM >, ST >, DerivedQuantity< GenericClass< DIM >, SU, DQT > >, SM< Quantity< SQT, SST >, DerivedQuantity< SQT, SSU, SDQT > > >::EQ, SM< Quantity< SQT, SST >, DerivedQuantity< SQT, SSU, SDQT > >, DimensionError< true > >::RET & | quantity | ) | [inline, static] |