#include <raberu/raberu.hpp>
#include <iostream>
int main()
{
constexpr auto modal = "modal"_fl;
constexpr auto similar = "similar"_fl;
auto defaults =
rbr::settings(
"name"_kw = std::string{
"Jane Doe"},
"value"_kw = 42.69f, modal);
auto merged = rbr::merge(opts, defaults);
std::cout << merged[modal] << "\n";
std::cout << merged["name"_kw] << "\n";
std::cout << merged[similar] << "\n";
std::cout << merged["value"_kw] << "\n";
}
Raberu literals namespace.
Definition: keywords.hpp:369
Defines a group of options for processing.
Definition: settings.hpp:50