Boost logo

Boost Users :

Subject: [Boost-users] Dynamically creating new units
From: Brandon Olivares (programmer2188_at_[hidden])
Date: 2009-12-25 12:21:02


I posted before about having a problem with having so many units that it
takes forever to install. I was thinking about trying to perhaps dynamically
create only the ones I need, because I can't know that at compile-time.

Mostly it would be scaled units. For instance I might have the unit meter,
but might want to create a scaled unit, say like kilometer or millimeter.

Also though I wouldn't mind being able to create some of the astronomical
units when necessary, such as parsec or light year. But in all cases, the
base units already exist.

What would be the best way to do this?


Blog and forum discussing living a Christ-centered life
Follow me on Twitter:
Follow on Twitter:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at