Class wrapping values that can be loaded from application_config. More...
#include <eagine/application_config.hpp>
Public Member Functions | |
application_config_value (application_config &config, string_view key, string_view tag, T initial={}) noexcept | |
Initialization from key, tag and optional initial value. | |
application_config_value (application_config &config, string_view key, T initial={}) noexcept | |
Initialization from key and optional initial value. | |
auto | value () const noexcept -> As |
Returns the stored value converted to the As type. | |
operator As () const noexcept | |
Implicit conversion of the stored value to the As type. More... | |
Class wrapping values that can be loaded from application_config.
|
inlinenoexcept |
Implicit conversion of the stored value to the As
type.