
17 Jun
2006
17 Jun
'06
11:23 p.m.
Oleg Abrosimov said: (by the date of Thu, 15 Jun 2006 14:33:40 +0700)
Janek Kozicki writes:
Given that, maybe there is no need at all to define velocity.hpp, pressure.hpp and all the others with dimensions combined? When the user plans to work with velocity he will just write:
// requires only this macro BOOST_UNITS_DIVIDED(pqs::length::m,pqs::time::s,velocity);
instead of this:
// requires file velocity.hpp with dozens of definitions inside typedef pqs::velocity::m_div_s velocity;
or, may be as simple as pqs::velocity?
and maybe even this: velocity v = 10*meter()/second(); ? -- Janek Kozicki |