cli11
Loading...
Searching...
No Matches
cli::detail::has_find Concept Referenceexport
module cli11

Matches containers offering their own find. More...

Concept definition

template<typename C, typename V>
concept has_find = requires(C c, V v) { c.find(v); }
Matches containers offering their own find.
Definition extra_validators.cpp:211

Detailed Description

Matches containers offering their own find.

Used to pick the associative lookup over a linear scan. A pointer to a container does not satisfy this, so pointer-held sets take the scanning overload, which dereferences first.