Version 1.1 - Past Prologue
Bug Fixes
- Moved from
pragma once
to#ifndef
to allow for multiple raberu files to coexist in multiple projects. - Fixed a regression in Visual Studio that affected the ability to run tests.
- Fix #6 - Compile-time IDs are now properly displayed and compared without any issues due to terminal
\0
.
New Features
-
Fix #4 - Simplify and generalize custom keyword generation
A new CRTP classrbr::as_keyword
streamlines the definition of compact keywords by users while
supporting the whole range of built-in keywords. Associated documentation has been updated. -
Fix #2 - Implement direct keyword value access
Keywords can now fetch themselves from bundles of options. E.ginline constexpr auto coord_ = "coord"_kw; inline constexpr auto is_modal_ = "is_modal"_fl; auto x = coord_(coord_ = "Jane"s, is_modal_);
-
Fix #5 - Mass extractors for keyword and values
rbr::keywords
andrbr::values
can be used to retrieve a tuple-like object containing all the
keywords or values from a bundle of options. -
rbr::get_type
is removed and is replaced byrbr::fetch
andrbr::result::fetch_t
.
This function provides an infix syntax for options access.
Full Changelog: v1.0...v1.1