mrdocs::contains
Determine if a range contains a specific element.
Synopsis
Declared in <mrdocs/Support/Algorithm.hpp>
template<
class T,
class U>
requires std::equality_comparable_with<T, U>
bool
contains(
std::initializer_list<T> const& range,
U const& el);
Parameters
| Name | Description |
|---|---|
range |
The range to search. |
el |
The element to search for. |
Created with MrDocs