ContainsAnyExcept()
System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T>&, const T&, const T&, const T&) function
Checks if a read-only span contains any element except three specified values.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T> &span, const T &value0, const T &value1, const T &value2)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to search in |
value0 | const T& | The first value to exclude |
value1 | const T& | The second value to exclude |
value2 | const T& | The third value to exclude |
Return Value
true if any element different from the specified values is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const Span<T>&, const T&, const T&, const T&) function
Checks if a mutable span contains any element except three specified values.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const Span<T> &span, const T &value0, const T &value1, const T &value2)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The mutable span to search in |
value0 | const T& | The first value to exclude |
value1 | const T& | The second value to exclude |
value2 | const T& | The third value to exclude |
Return Value
true if any element different from the specified values is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T>&, const T&, const T&) function
Checks if a read-only span contains any element except two specified values.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T> &span, const T &value0, const T &value1)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to search in |
value0 | const T& | The first value to exclude |
value1 | const T& | The second value to exclude |
Return Value
true if any element different from the specified values is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const Span<T>&, const T&, const T&) function
Checks if a mutable span contains any element except two specified values.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const Span<T> &span, const T &value0, const T &value1)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The mutable span to search in |
value0 | const T& | The first value to exclude |
value1 | const T& | The second value to exclude |
Return Value
true if any element different from the specified values is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T>&, const T&) function
Checks if a read-only span contains any element except a specified value.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T> &span, const T &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to search in |
value | const T& | The value to exclude |
Return Value
true if any element different from the specified value is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const Span<T>&, const T&) function
Checks if a mutable span contains any element except a specified value.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const Span<T> &span, const T &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the span |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The mutable span to search in |
value | const T& | The value to exclude |
Return Value
true if any element different from the specified value is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T>&, const ReadOnlySpan<T>&) function
Checks if a read-only span contains any element except those in another span.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const ReadOnlySpan<T> &span, const ReadOnlySpan<T> &values)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to search in |
values | const ReadOnlySpan<T>& | The span of values to exclude |
Return Value
true if any element not in values is found, false otherwise
System::MemoryExtensions::ContainsAnyExcept(const Span<T>&, const ReadOnlySpan<T>&) function
Checks if a mutable span contains any element except those in a read-only span.
template<typename T> bool System::MemoryExtensions::ContainsAnyExcept(const Span<T> &span, const ReadOnlySpan<T> &values)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The mutable span to search in |
values | const ReadOnlySpan<T>& | The read-only span of values to exclude |
Return Value
true if any element not in values is found, false otherwise
See Also
- Class ReadOnlySpan
- Class Span
- Namespace System::MemoryExtensions
- Library Aspose.Slides