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

◆ operator=()

template<typename Keyword >
template<typename Type >
requires ( accept<Type>() )
constexpr auto rbr::as_keyword< Keyword >::operator= ( Type &&  v) const
inlineconstexprnoexcept

Assignment of a value to a keyword.

Bind a value to current Keyword and returns an instance of an Option.

Parameters
vBound value
Returns
An rbr::option binding the keyword to v.