raberu v1.1.0
Fancy Named Parameter Library
 
Loading...
Searching...
No Matches
rbr Namespace Reference

Main Raberu namespace. More...

Detailed Description

Main Raberu namespace.

Namespaces

namespace  concepts
 Raberu Concepts namespace.
 
namespace  literals
 Raberu literals namespace.
 
namespace  result
 Raberu helper traits namespace.
 

Classes

struct  any_keyword
 Regular keyword. More...
 
struct  as_keyword
 Base class for keyword definition. More...
 
struct  call
 Callable object wrapper for functional default value. More...
 
struct  checked_keyword
 Checked keyword. More...
 
struct  flag_keyword
 Flag keyword. More...
 
struct  id_
 Compile-time text based ID. More...
 
struct  is_equivalent
 Checks the equivalence of two rbr::settings. More...
 
struct  option
 Callable object wrapper for functional default value. More...
 
struct  settings
 Defines a group of options for processing. More...
 
struct  typed_keyword
 Typed keyword. More...
 
struct  types
 Lightweight variadic type list. More...
 
struct  unknown_key
 Type indicating that a Keyword is not available. More...
 

Functions

template<concepts::keyword K, typename V , concepts::option... Os>
constexpr decltype(auto) fetch (_::type_or_< K, V > const &k, Os const &... os)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<concepts::keyword K, concepts::option... Os>
constexpr decltype(auto) fetch (K const &k, Os const &... os)
 Retrieved a value via a keyword.
 
template<typename K , concepts::settings Settings>
constexpr decltype(auto) fetch (K const &k, Settings const &opts)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<template< typename... > class List, typename... Opts>
constexpr auto keywords (rbr::settings< Opts... > const &s)
 Retrieved the list of all keywords in a settings.
 
template<concepts::option... Opts>
 settings (Opts const &... opts) -> settings< Opts... >
 rbr::settings deduction guide
 
template<template< typename... > class List, typename... Opts>
constexpr auto values (rbr::settings< Opts... > const &s)
 Retrieved the list of all value stored in a settings.