Skip to content

Commit aca4405

Browse files
committed
Update main to output generated at c511384
1 parent bb72afd commit aca4405

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# unit-system Desktop C++17
1+
# unit-system Desktop C++14
22

33
[![GitHub license](https://img.shields.io/github/license/unit-system-exports/unit-system-meson.svg)](https://github.com/unit-system-exports/unit-system-meson/blob/main/License)
44
[![stable release](https://img.shields.io/github/v/release/unit-system-exports/unit-system-meson.svg)](https://GitHub.com/unit-system-exports/unit-system-meson/releases/)
@@ -7,8 +7,7 @@
77
**This repository only contains the generated source files.**
88
**If you want to report a bug or change something check the [generator repository](https:://github.com/noah1510/unit-system-generator).**
99

10-
11-
This is an implementation of the SI unit system for C++17 development.
10+
This is an implementation of the SI unit system for C++14 development.
1211
All units, combinations, literals and constants are generated from templates.
1312
If you feel something is missing open an issue or a pull request on the [generator repository](https:://github.com/noah1510/unit-system-generator).
1413

@@ -42,7 +41,6 @@ Just use the wrapdb to download the version you need, and then you can add the l
4241
4342
## Units that are currently supported
4443
45-
* unit_t -> a unit template that is the basis of all the units
4644
* time_si -> time with seconds as base unit
4745
* length -> length with meter as base unit
4846
* mass -> mass with kg as base unit
@@ -60,6 +58,21 @@ Just use the wrapdb to download the version you need, and then you can add the l
6058
6159
## Upgrade Instructions
6260
61+
### from version 0.7.x to 0.8.x
62+
63+
Most code should still work.
64+
65+
However, there are two major changes.
66+
The first one is that there is only one header now.
67+
All declarations are now in the `unit_system.hpp` header.
68+
If you only included some parts of the library you have to change that.
69+
70+
The second major change is the removal of the unit_t template class.
71+
This means all custom types are now broken.
72+
This is done to simplify the code and make it easier to maintain.
73+
Now all units have to be created by using the generator script.
74+
If you want to add a new unit you have to add it to the generator script and run it.
75+
6376
### from version 0.6.x to 0.7.x
6477
6578
Nothing much changed in the API.

0 commit comments

Comments
 (0)