refactor: 💥 header files with the entire system definitions moved up in the directory tree

This commit is contained in:
Mateusz Pusz
2024-04-25 16:30:52 +02:00
parent dbc225961d
commit 8ea346be1c
62 changed files with 134 additions and 134 deletions

View File

@@ -32,7 +32,7 @@ Here is a small example of operations possible on scalar quantities:
=== "Header files"
```cpp
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/si.h>
using namespace mp_units;
using namespace mp_units::si::unit_symbols;
@@ -111,9 +111,9 @@ performed without sacrificing accuracy. Please see the below example for a quick
```cpp
#include <mp-units/format.h>
#include <mp-units/ostream.h>
#include <mp-units/systems/international/international.h>
#include <mp-units/systems/isq/isq.h>
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/international.h>
#include <mp-units/systems/isq.h>
#include <mp-units/systems/si.h>
#include <format>
#include <iomanip>
#include <iostream>

View File

@@ -33,7 +33,7 @@ a number with a predefined unit:
=== "Header files"
```cpp
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/si.h>
using namespace mp_units;
@@ -59,7 +59,7 @@ a number with a predefined unit:
=== "Header files"
```cpp
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/si.h>
using namespace mp_units;
@@ -83,7 +83,7 @@ The same can be obtained using optional unit symbols:
=== "Header files"
```cpp
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/si.h>
using namespace mp_units;
using namespace mp_units::si::unit_symbols;
@@ -193,7 +193,7 @@ Quantities of the same kind can be added, subtracted, and compared to each other
=== "Header files"
```cpp
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/si.h>
using namespace mp_units;
using namespace mp_units::si::unit_symbols;
@@ -249,8 +249,8 @@ This introduces an additional type-safety.
```cpp
#include <mp-units/format.h>
#include <mp-units/systems/si/si.h>
#include <mp-units/systems/usc/usc.h>
#include <mp-units/systems/si.h>
#include <mp-units/systems/usc.h>
#include <print>
int main()