carl
24.04
Computer ARithmetic Library
|
Helper type to parse duration as std::chrono values with boost::program_options. More...
#include <settings_utils.h>
Public Member Functions | |
duration ()=default | |
template<typename... Args> | |
constexpr | duration (Args &&... args) |
template<typename R , typename P > | |
constexpr | operator std::chrono::duration< R, P > () const |
Helper type to parse duration as std::chrono values with boost::program_options.
Intended usage:
std::chrono::seconds(d)
Definition at line 43 of file settings_utils.h.
|
default |
|
inlineconstexpr |
Definition at line 47 of file settings_utils.h.
|
inlineexplicitconstexpr |
Definition at line 49 of file settings_utils.h.