E.V.E
v2023.02.15
Loading...
Searching...
No Matches

◆ operator[]()

template<typename OptionsValues, typename... Options>
template<typename O>
requires ( requires(OptionsValues const& ov) { this->process(ov,o);} )
auto eve::decorated_with< OptionsValues, Options >::operator[] ( O o) const
inlineconstexpr

If the option o is supported by one of the specifications Spec, build a new Callable Object that will behave as an instance of Tag except the option o is passed inside an eve::options as an additional parameter.

Does not participate in overload resolution if o is not supported by any option specifications.

Parameters
oOption to add to current's Callable Object setup
Returns
A new Callable Object with the options o set.