Commit 31664c2b authored by Timo Koch's avatar Timo Koch
Browse files

[chanelog] Add fmt

parent 478ce285
......@@ -11,6 +11,10 @@ Differences Between DuMu<sup>x</sup> 3.3 and DuMu<sup>x</sup> 3.2
and might undergo unannounced API changes until further notice. This concerns the files in the folders `python` and `dumux/python`. To activate
- add `-DDUNE_ENABLE_PYTHONBINDINGS=TRUE` and `-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE` to your CMAKE_FLAGS and run dunecontrol
- run `python3 dune-common/bin/setup_dunepy.py`
- We now include a basic version of the [fmt-library](https://github.com/fmtlib/fmt) which implements `std::format` (coming with C++20) with the need for C++20.
In order to use this, include `<dumux/io/format.hh>`. `format`, `format_to`, `format_to_n`, `formatted_size` are available in the `Dumux::Fmt` namespace.
The string formatting is documented [here](https://en.cppreference.com/w/cpp/utility/format/formatter#Standard_format_specification) and follows the Python string formatting rules.
The function are documented on [cppreference](https://en.cppreference.com/w/cpp/utility/format).
### Immediate interface changes not allowing/requiring a deprecation period:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment