Retrieved the list of all value stored in a settings.
{
template<
template<
typename...>
class List,
typename Settings>
struct values;
template<template<typename...> class List, typename Settings>
using values_t = typename values<List,Settings>::type;
}
constexpr auto values(rbr::settings< Opts... > const &s)
Retrieved the list of all value stored in a settings.
Definition: keys_values.hpp:91
Raberu helper traits namespace.
Definition: drop.hpp:64
#include <raberu/raberu.hpp>
#include <iostream>
#include <tuple>
int main()
{
auto opts =
rbr::settings(
"size"_kw = 75ULL,
"modal"_fl,
"value"_kw = 13.37);
auto vs = rbr::values<std::tuple>(opts);
std::apply([](auto const&... e) { ((std::cout << e << "\n"),...); }, vs);
}
Raberu literals namespace.
Definition: keywords.hpp:369
Defines a group of options for processing.
Definition: settings.hpp:50