Boost logo

Boost :

Subject: Re: [boost] [Units & Spirit] libraries
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-06-07 19:46:09


> I am using the Units library for Dimensional Analysis. So far it is
> very useful. Up till now I am using it in a hard-coded/compile time way
> as in a test.cpp.
>
> My inteterst is in using Units as part of a larger run-time system so I
> need some way of making my code more flexible. Lambda library is an
> option here but I would also like to create units and quanties from
> string input as well as being able to parse these strings to units and
> then store the units in a database.
>
> Can I use Spirit (and Serialization) for these features? Maybe the
> functionality already exist, and I have not found it.

Sure Spirit is your friend for all parsing and output generation needs.
What did you have in mind?

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk