raberu v1.1.0
Fancy Named Parameter Library
 
Loading...
Searching...
No Matches
Settings definitions and handling

Functions and types to handle RABERU settings. More...

Classes

struct  rbr::is_equivalent< S1, S2 >
 Checks the equivalence of two rbr::settings. More...
 
struct  rbr::option< Keyword, Value >
 Callable object wrapper for functional default value. More...
 
struct  rbr::settings< Opts >
 Defines a group of options for processing. More...
 

Functions

template<concepts::keyword K, concepts::option... O>
constexpr auto drop (K const &k, settings< O... > const &s)
 Remove an option from a rbr::settings.
 
template<concepts::keyword K, concepts::option... Os>
constexpr decltype(auto) rbr::fetch (K const &k, Os const &... os)
 Retrieved a value via a keyword.
 
template<template< typename... > class List, typename... Opts>
constexpr auto rbr::keywords (rbr::settings< Opts... > const &s)
 Retrieved the list of all keywords in a settings.
 
template<concepts::option... K1s, concepts::option... K2s>
constexpr auto merge (settings< K1s... > const &opts, settings< K2s... > const &defs) noexcept
 Merge two instances of rbr::settings.
 
template<template< typename... > class List, typename... Opts>
constexpr auto rbr::values (rbr::settings< Opts... > const &s)
 Retrieved the list of all value stored in a settings.