I'm doing some benchmarking in my code and I'm trying to figure out if I should use the standard version of chrono or the original one provided by Boost.
I started using the standard one because I wanted to try it out, and noticed that for example it doesn't provide io functions like the chrono provided by Boost does.
So, regarding chrono and in general, should I use Boost libraries or their standard library counterparts?
It depends on what do you want to achieve. C++ chrono pros:
Boost chrono pros:
So, if you don't need that additional io functions and don't need c++03 support, use standard library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With