Boost logo

Boost Users :

Subject: Re: [Boost-users] Dynamically creating new units
From: Brandon Olivares (programmer2188_at_[hidden])
Date: 2009-12-25 13:33:53

On 2009-12-25, OvermindDL1 wrote:
> As for dynamically creating types, you can do that all you wish, but
> you have no type information then (unless you use variant or any or
> something, but that has needless overhead, well, maybe not variant).
> That is the point of Boost.Units, to enforce that you are doing things
> correctly, at compile time, it optimizes completely out at run-time.

OK thanks, perhaps you are right. I'm just really trying to figure out a way
to make compilation a bit faster. My concern is that since these are in
header files, well any source file that needs units will require them all to
be processed again, and that is really inconvenient.


> _______________________________________________ Boost-users mailing list
> Boost-users_at_[hidden]

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

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