[Quantity-devel] Re: [Quantity-users] new constructors
Brought to you by:
berndspeiser
|
From: Kai L. <kai...@un...> - 2004-07-06 20:04:32
|
> The new constructors for Variables and Constants from a number and a > unit (either as std::string or char *) have been uploaded to the cvs > server. Have fun! Bernd, are you sure that you've uploaded the modified version? I've done a fresh checkout but could not find the Constructors. Also I've tried Concentration cc(0.5,"molL^-1"); to the test program and it did not compile: e.h: In constructor `Quantities::Variable<Quantities::Quantity<GT, Loki::Typelist<U, UTail>, DU, DT>, U>::Variable(DT, const NU&) [with NU =3D char[8], G= T =3D Quantities::ConcentrationGroup, Head =3D Quantities::ConcentrationUnits::MolePerLitre, Tail =3D Loki::Typelist<Quantities::ConcentrationUnits::MilliMolePerLitre, Loki::NullType>, DU =3D Quantities::ConcentrationUnits::MolePerLitre, = U =3D Quantities::ConcentrationUnits::MolePerLitre, DT =3D double]': modelParametersDialog.cpp:339: instantiated from here /home/kl/software/src/quantity/Quantities/Quantity/Variable.h:125: no method ` Units::UnitError<true>::Standard' ??Kai --=20 http://echempp.sourceforge.net Kai Ludwig Institut f=FCr Organische Chemie Auf der Morgenstelle 18 72076 T=FCbingen Tel.: 07071/29-73049 Mail: kai...@un... |