#include <alpaqa/util/demangled-typename.hpp>#include <alpaqa/util/from_chars-wrapper.hpp>#include <chrono>#include <string_view>
Include dependency graph for duration-parse.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | invalid_duration_value |
| struct | invalid_duration_units |
Namespaces | |
| namespace | alpaqa |
| namespace | alpaqa::util |
Functions | |
| template<class Rep , class Period > | |
| std::string_view | parse_single_duration (std::chrono::duration< Rep, Period > &t, std::string_view s) |
Adds the first duration in the string s to the duration t. | |
| template<class Rep , class Period > | |
| void | parse_duration (std::chrono::duration< Rep, Period > &t, std::string_view s) |
Adds the sum of the durations in the string s to the duration t. | |