EndsWith()
Contents
[
Hide
]System::MemoryExtensions::EndsWith(const ReadOnlySpan<char16_t>&, const ReadOnlySpan<char16_t>&, StringComparison) function
Determines if a ReadOnlySpan<char16_t> ends with the specified value using StringComparison.
bool System::MemoryExtensions::EndsWith(const ReadOnlySpan<char16_t> &span, const ReadOnlySpan<char16_t> &value, StringComparison comparisonType)
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<char16_t>& | The span to check |
value | const ReadOnlySpan<char16_t>& | The value to check for at the end of the span |
comparisonType | StringComparison | The string comparison type to use |
Return Value
true if the span ends with the value, false otherwise
System::MemoryExtensions::EndsWith(const ReadOnlySpan<T>&, const T&) function
Determines if a ReadOnlySpan
template<typename T> bool System::MemoryExtensions::EndsWith(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 check |
value | const T& | The value to check for at the end of the span |
Return Value
true if the span ends with the value, false otherwise
System::MemoryExtensions::EndsWith(const ReadOnlySpan<T>&, const ReadOnlySpan<T>&) function
Determines if a ReadOnlySpan
template<typename T> bool System::MemoryExtensions::EndsWith(const ReadOnlySpan<T> &span, const ReadOnlySpan<T> &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to check |
value | const ReadOnlySpan<T>& | The span to check for at the end of the target span |
Return Value
true if the span ends with the value span, false otherwise
System::MemoryExtensions::EndsWith(const Span<T>&, const ReadOnlySpan<T>&) function
Determines if a Span
template<typename T> bool System::MemoryExtensions::EndsWith(const Span<T> &span, const ReadOnlySpan<T> &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The span to check |
value | const ReadOnlySpan<T>& | The span to check for at the end of the target span |
Return Value
true if the span ends with the value span, false otherwise
System::MemoryExtensions::EndsWith(const ReadOnlySpan<T>&, const Span<T>&) function
Determines if a ReadOnlySpan
template<typename T> bool System::MemoryExtensions::EndsWith(const ReadOnlySpan<T> &span, const Span<T> &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const ReadOnlySpan<T>& | The span to check |
value | const Span<T>& | The span to check for at the end of the target span |
Return Value
true if the span ends with the value span, false otherwise
System::MemoryExtensions::EndsWith(const Span<T>&, const Span<T>&) function
Determines if a Span
template<typename T> bool System::MemoryExtensions::EndsWith(const Span<T> &span, const Span<T> &value)
Template parameters
Parameter | Description |
---|---|
T | The type of elements in the spans |
Arguments
Parameter | Type | Description |
---|---|---|
span | const Span<T>& | The span to check |
value | const Span<T>& | The span to check for at the end of the target span |
Return Value
true if the span ends with the value span, false otherwise
See Also
- Enum StringComparison
- Class ReadOnlySpan
- Class Span
- Namespace System::MemoryExtensions
- Library Aspose.Slides