Skip to content

Commit

Permalink
docs: import mp_units; lines removed from the recently added code e…
Browse files Browse the repository at this point in the history
…xamples
  • Loading branch information
mpusz committed Feb 26, 2024
1 parent 978b191 commit aa72c83
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/getting_started/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ The same can be obtained using optional unit symbols:
[using-directive](https://en.cppreference.com/w/cpp/language/namespace#Using-directives):

```cpp
import mp_units;

using namespace mp_units;
using namespace mp_units::si::unit_symbols; // imports all the SI symbols at once

Expand All @@ -116,8 +114,6 @@ The same can be obtained using optional unit symbols:
[using-declarations](https://en.cppreference.com/w/cpp/language/using_declaration):

```cpp
import mp_units;

using namespace mp_units;
using si::unit_symbols::m;
using si::unit_symbols::s;
Expand All @@ -128,8 +124,6 @@ The same can be obtained using optional unit symbols:
- specify a custom not conflicting unit identifier for a unit:

```cpp
import mp_units;

using namespace mp_units;
constexpr Unit auto mps = si::metre / si::second;

Expand Down

0 comments on commit aa72c83

Please sign in to comment.