raberu v1.1.0
Fancy Named Parameter Library
Loading...
Searching...
No Matches
rbr::concepts::option Concept Reference

Option concept. More...

#include <raberu/impl/concepts.hpp>

Detailed Description

Option concept.

An Option type can be aggregated in a Settings and be fetched later

Concept definition

template<typename O>
concept option = requires(O const& o) {
{
o(typename std::remove_cvref_t<O>::keyword_type{})
} -> stdfix::same_as<typename std::remove_cvref_t<O>::stored_value_type>;
}
Option concept.
Definition concepts.hpp:38