Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArrayView
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr TArrayView () |
Constructor. | Containers/ArrayView.h | |
constexpr TArrayView
(
const TArrayView& |
Defaulted object behavior - we want compiler-generated functions rather than going through the generic range constructor. | Containers/ArrayView.h | |
constexpr TArrayView
(
OtherRangeType&& Other |
Constructor from another range | Containers/ArrayView.h | |
constexpr TArrayView
(
OtherRangeType&& Other |
Containers/ArrayView.h | ||
constexpr TArrayView
(
std::initializer_list< ElementType > List |
Construct a view of an initializer list. | Containers/ArrayView.h | |
constexpr TArrayView
(
FIntrusiveUnsetOptionalState |
Containers/ArrayView.h | ||
constexpr TArrayView
(
OtherElementType* InData, |
Construct a view of an arbitrary pointer | Containers/ArrayView.h |
TArrayView()
Description
Constructor.
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
constexpr TArrayView()
TArrayView(const TArrayView &)
Description
Defaulted object behavior - we want compiler-generated functions rather than going through the generic range constructor.
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
constexpr TArrayView
(
const TArrayView &
)
TArrayView(OtherRangeType &&)
Description
Constructor from another range
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
template<typename OtherRangeType, typename CVUnqualifiedOtherRangeType, std::enable_if_t<< TIsContiguousContainer < CVUnqualifiedOtherRangeType >, TOr < TIsCompatibleRangeType < OtherRangeType >, TIsReinterpretableRangeType < OtherRangeType > > >::Value &&TIsTArrayView_V< CVUnqualifiedOtherRangeType > &&!std::is_same_v< CVUnqualifiedOtherRangeType, TArrayView >), int >>
constexpr TArrayView
(
OtherRangeType && Other
)
Parameters
| Name | Remarks |
|---|---|
| Other | The source range to copy |
TArrayView(OtherRangeType &&)
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
template<typename OtherRangeType, typename CVUnqualifiedOtherRangeType, std::enable_if_t<< TIsContiguousContainer < CVUnqualifiedOtherRangeType >, TOr < TIsCompatibleRangeType < OtherRangeType >, TIsReinterpretableRangeType < OtherRangeType > > >::Value &&!TIsTArrayView_V< CVUnqualifiedOtherRangeType >), int >>
constexpr TArrayView
(
OtherRangeType && Other
)
TArrayView(std::initializer_list< ElementType >)
Description
Construct a view of an initializer list.
The caller is responsible for ensuring that the view does not outlive the initializer list.
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
constexpr TArrayView
(
std::initializer_list< ElementType > List
)
TArrayView(FIntrusiveUnsetOptionalState)
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
constexpr TArrayView
(
FIntrusiveUnsetOptionalState
)
TArrayView(OtherElementType *, SizeType)
Description
Construct a view of an arbitrary pointer
| Name | TArrayView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
template<typename OtherElementType, std::enable_if_t<(UE::Core::ArrayView::Private::TIsCompatibleElementType_V< OtherElementType, ElementType >), int >>
constexpr TArrayView
(
OtherElementType * InData,
SizeType InCount
)
Parameters
| Name | Remarks |
|---|---|
| InData | The data to view |
| InCount | The number of elements |