Hello!
It is impossible to use TArray::HeapPush
with move-only types. TArray should require only that its members are MoveConstructible and MoveAssignable (as std::vector does). Please add HeapPush(ElementType&& InItem)
overload.
Hello!
It is impossible to use TArray::HeapPush
with move-only types. TArray should require only that its members are MoveConstructible and MoveAssignable (as std::vector does). Please add HeapPush(ElementType&& InItem)
overload.
Hi Pavel,
I’ve just added this. Unfortunately, it has missed the cut-off time for 4.12 changes, so you will not get it until 4.13, unless you get the source changes on GitHub. I’ll post a link here when they’re up.
Steve