Converts strings like "10s", "5d", "1h" to durations.
Definition in file string_to_duration.hpp.
Go to the source code of this file.
#include <chrono>#include <string_view>
This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | utils |
| Utilities. | |
Functions | |
| std::chrono::milliseconds | utils::StringToDuration (std::string_view data) |
| Converts strings like "10s", "5d", "1h" to durations. | |