
7 Jun
2009
7 Jun
'09
11:46 p.m.
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