#include <ozo/core/options.h>
Generic options factory.
Compile-time factory of options map.
| <tt>Options</tt> | — initial options set, default is empty boost::hana::map. |
Public Member Functions | |
| constexpr | options_factory (Options options=Options{}) |
Public Member Functions inherited from ozo::options_factory_base< options_factory< decltype(hana::make_map()) >, decltype(hana::make_map()) > | |
| constexpr | options_factory_base (decltype(hana::make_map()) v) |
| constexpr decltype(auto) | set (decltype(hana::make_map()) &&...options) && |
| constexpr auto | has (ozo::option< Key > op) const |
| constexpr decltype(auto) | get (ozo::option< Key > op) const |
| constexpr const decltype(hana::make_map()) & | options () const & |
| constexpr decltype(hana::make_map()) & | options () & |
| constexpr decltype(hana::make_map()) && | options () && |
Friends | |
| class | ozo::options_factory_base< options_factory< Options >, Options > |
|
constexpr |
Construct a new options factory object
| options | — boost::hana::map with default options, default value is empty map. |