Iros
 
Loading...
Searching...
No Matches
di::concepts::ValidNamedArguments Concept Reference

A concept to check if a list of named arguments is valid. More...

#include <di/util/named_arguments.h>

Concept definition

template<typename Allowed, typename... Args>
A concept to check if a list of named arguments is valid.
Definition named_arguments.h:261
constexpr bool All
Definition algorithm.h:20
constexpr usize Size
Definition list.h:106
Type< detail::LikeHelper< T, U > > Like
Definition language.h:468
detail::TransformHelper< List, Function >::Type Transform
Definition algorithm.h:186
Definition named_arguments.h:245
Definition function.h:64
Definition core.h:5
Definition function.h:30

Detailed Description

A concept to check if a list of named arguments is valid.

Template Parameters
AllowedThe list of allowed named arguments.
ArgsThe list of arguments passed to the function.

This concept checks if a list of named arguments is valid. A list of named arguments is valid if it contains only named arguments from the list of allowed named arguments. Note that for now, this concept assumes all named arguments are optional.

See also
NamedArguments