[Metrics] - library idea reviews
Hi, Two years ago, I have created a library who handle metrics type (distance, speed, flow rate, ...). I have simply applied the principle of chrono library (std:: one from clang in my case) and have applied it to other types. I have decided some weeks ago to make it public on github. This project also manage inter-type conversion(speed to distance, or volume to flow rate for example). Before going much further in this project, I would like to get your though about it. Maybe some of you already have had a similar idea, maybe even in a more advanced state, or with another principle of conversion between types? Here is the project link: https://github.com/xtofpic/metrics if you are interested. In this case, don't blame me for the state of the code actually, I know it still need a huge works to do on testing and code reducing by better c++ templates. But if you can just let me know what you think of the idea? And if there is an opportunity to eventually integrate this project into boost afterwards? Best regards, Christophe Pijcke.
On 11/4/2019 11:34 AM, Christophe Pijcke via Boost wrote:
Hi,
Two years ago, I have created a library who handle metrics type (distance, speed, flow rate, ...). I have simply applied the principle of chrono library (std:: one from clang in my case) and have applied it to other types. I have decided some weeks ago to make it public on github. This project also manage inter-type conversion(speed to distance, or volume to flow rate for example).
Before going much further in this project, I would like to get your though about it. Maybe some of you already have had a similar idea, maybe even in a more advanced state, or with another principle of conversion between types?
Here is the project link: https://github.com/xtofpic/metrics if you are interested. In this case, don't blame me for the state of the code actually, I know it still need a huge works to do on testing and code reducing by better c++ templates.
But if you can just let me know what you think of the idea? And if there is an opportunity to eventually integrate this project into boost afterwards?
Boost has the Units library, which may be similar in functionality to what you propose. You might want to look at it and distinguish your library's functionality from it in your docs.
Best regards, Christophe Pijcke.
Le 8 nov. 2019 à 18:11, Edward Diener via Boost
a écrit : Boost has the Units library, which may be similar in functionality to what you propose. You might want to look at it and distinguish your library's functionality from it in your docs.
At a first sight, Units library is exactly what I want to achieve (and even far more). I missed it. Many thanks anyway. Regards, Christophe.
participants (2)
-
cpijcke.wall@laposte.net
-
Edward Diener