mpusz / mp-units

The quantities and units library for C++
https://mpusz.github.io/mp-units/
MIT License
998 stars 79 forks source link

Fix examples in README #466

Closed NAThompson closed 1 year ago

NAThompson commented 1 year ago

This matches the documentation better.

In addition, remove the godbolt links as the code therein in broken, and godbolt does not appear to have mp-units/0.8.0 available.

mpusz commented 1 year ago

I am sorry but the mainline is no longer compatible with the recently released 0.8.0. We are now heading towards 2.0.0 which is a huge improvement but also unfortunately a big breaking change.

We do not have any docs for a new design but I will be working on it in the next weeks.

The second link from README will hopefully start to work in the Compiler Explorer when the next version of it is released.

mpusz commented 1 year ago

You can find more about 2.0 in https://youtu.be/3XSVCmWQklI.

NAThompson commented 1 year ago

Understood; no worries.