System::Runtime::InteropServices::MemoryMarshal::GetReference method
Contents
[
Hide
]MemoryMarshal::GetReference(const ReadOnlySpan<T>&) method
Gets a reference to the first element of the specified read-only span.
template<typename T> static T & System::Runtime::InteropServices::MemoryMarshal::GetReference(const ReadOnlySpan<T> &span)
| Parameter | Description |
|---|---|
| T | The type of elements in the read-only span. |
| Parameter | Type | Description |
|---|---|---|
| span | const ReadOnlySpan<T>& | The read-only span to access. |
ReturnValue
A reference to the first element of the read-only span.
See Also
- Class ReadOnlySpan
- Class MemoryMarshal
- Namespace System::Runtime::InteropServices
- Library Aspose.PDF for C++
MemoryMarshal::GetReference(const Span<T>&) method
Gets a reference to the first element of the specified span.
template<typename T> static T & System::Runtime::InteropServices::MemoryMarshal::GetReference(const Span<T> &span)
| Parameter | Description |
|---|---|
| T | The type of elements in the span. |
| Parameter | Type | Description |
|---|---|---|
| span | const Span<T>& | The span to access. |
ReturnValue
A reference to the first element of the span.
See Also
- Class Span
- Class MemoryMarshal
- Namespace System::Runtime::InteropServices
- Library Aspose.PDF for C++