|
From: Steven W. <ste...@us...> - 2007-03-29 19:46:31
|
Update of /cvsroot/boost-sandbox/boost-sandbox/libs/units/example In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14063/boost-sandbox/libs/units/example Modified Files: unit_example_5.cpp Log Message: Updated quantity_casts Index: unit_example_5.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/units/example/unit_example_5.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- unit_example_5.cpp 16 Mar 2007 18:29:53 -0000 1.1.1.1 +++ unit_example_5.cpp 29 Mar 2007 19:46:30 -0000 1.2 @@ -87,11 +87,11 @@ //] //[unit_example_5_snippet_3 - quantity<SI::length,int> L4 = quantity_cast<int>(L1); + quantity<SI::length,int> L4 = quantity_cast<quantity<SI::length,int> >(L1); //] //[unit_example_5_snippet_4 - quantity<CGS::length> L5 = quantity_cast<CGS::length>(L1); + quantity<CGS::length> L5 = quantity_cast<quantity<CGS::length> >(L1); //] sstream1 << "L1 = " << L1 << std::endl |