Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Type
typedef TOrValue< std::is_same< DestType, std::decay_t< SourceType >>::value, TIsConstructible< DestType, SourceType >> TArrayElementsAreCompatible
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include | #include "Containers/Array.h" |
Remarks
Assume elements are compatible with themselves - avoids problems with generated copy constructors of arrays of forwarded types, e.g.:
struct FThing;
struct FOuter { TArray
This should be changed to use std::disjunction and std::is_constructible, and the usage changed to use ::value instead of Value, when std::disjunction (C++17) is available everywhere.