mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 18:37:15 +02:00
docs: headers simplified and the Compiler Explorer links updated for an example app
This commit is contained in:
@ -81,7 +81,7 @@ accuracy. Please see the below example for a quick preview of basic library feat
|
|||||||
#include <mp-units/format.h>
|
#include <mp-units/format.h>
|
||||||
#include <mp-units/ostream.h>
|
#include <mp-units/ostream.h>
|
||||||
#include <mp-units/systems/international/international.h>
|
#include <mp-units/systems/international/international.h>
|
||||||
#include <mp-units/systems/isq/space_and_time.h>
|
#include <mp-units/systems/isq/isq.h>
|
||||||
#include <mp-units/systems/si/si.h>
|
#include <mp-units/systems/si/si.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -116,4 +116,4 @@ int main()
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
_Try it on the [Compiler Explorer](https://godbolt.org/z/3q646qrb3)._
|
_Try it on the [Compiler Explorer](https://godbolt.org/z/zPnerKqzh)._
|
||||||
|
@ -41,7 +41,7 @@ performed without sacrificing accuracy. Please see the below example for a quick
|
|||||||
#include <mp-units/format.h>
|
#include <mp-units/format.h>
|
||||||
#include <mp-units/ostream.h>
|
#include <mp-units/ostream.h>
|
||||||
#include <mp-units/systems/international/international.h>
|
#include <mp-units/systems/international/international.h>
|
||||||
#include <mp-units/systems/isq/space_and_time.h>
|
#include <mp-units/systems/isq/isq.h>
|
||||||
#include <mp-units/systems/si/si.h>
|
#include <mp-units/systems/si/si.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ int main()
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/3q646qrb3)"
|
!!! example "[Try it on Compiler Explorer](https://godbolt.org/z/zPnerKqzh)"
|
||||||
|
|
||||||
!!! note
|
!!! note
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user