ContainsAnyExceptInRange()
Contents
[
Hide
]System::MemoryExtensions::ContainsAnyExceptInRange(const ReadOnlySpan<T>&, const T&, const T&) function
Checks if a read-only span contains any element outside the specified range.
template<typename T> bool System::MemoryExtensions::ContainsAnyExceptInRange(const ReadOnlySpan<T> &span, const T &lowInclusive, const T &highInclusive)
Template parameters
| Parameter | Description |
|---|---|
| T | The type of elements in the span (must be comparable) |
Arguments
| Parameter | Type | Description |
|---|---|---|
| span | const ReadOnlySpan<T>& | The span to search in |
| lowInclusive | const T& | The lower bound (inclusive) |
| highInclusive | const T& | The upper bound (inclusive) |
Return Value
true if any element outside the range is found, false otherwise
System::MemoryExtensions::ContainsAnyExceptInRange(const Span<T>&, const T&, const T&) function
Checks if a mutable span contains any element outside the specified range.
template<typename T> bool System::MemoryExtensions::ContainsAnyExceptInRange(const Span<T> &span, const T &lowInclusive, const T &highInclusive)
Template parameters
| Parameter | Description |
|---|---|
| T | The type of elements in the span (must be comparable) |
Arguments
| Parameter | Type | Description |
|---|---|---|
| span | const Span<T>& | The mutable span to search in |
| lowInclusive | const T& | The lower bound (inclusive) |
| highInclusive | const T& | The upper bound (inclusive) |
Return Value
true if any element outside the range is found, false otherwise
See Also
- Class ReadOnlySpan
- Class Span
- Namespace System::MemoryExtensions
- Library Aspose.Slides