
4 May
2010
4 May
'10
5:50 a.m.
using boost::units; typedef make_scaled_unit
::type gpa_unit; gpa_unit GPa; quantity
p(1.*GPa); //or p(1.*si::giga*si::pascal); the question is, is there a simpler way of doing this? for example,
While it is not (yet) standards compliant, most current C++ compilers support this,
which is about as easy as you can get :
#include