CommutativeAssociativeBinaryOperator

Two questions.

Take for example:


UFUNCTION(BlueprintPure, Category = "Utilities|Bytes", Meta = (DisplayName = "Merge Bytes", Keywords = "byte array", CommutativeAssociativeBinaryOperator = "true"))
static TArray<uint8> MergeBytes(TArray<uint8> A, TArray<uint8> B);

  1. Is there a keyword like CommutativeAssociativeBinaryOperator that would be guaranteed to execute in order, in other words, to always merge A and B, then add C, D, etc?

  2. Is there a way to make the objects const references (const TArray<uint8>& A)? (currently this gives errors when packaging, saying “Ensure condition failed: InputType == Pin->PinType” in K2Node_CommutativeAssociativeBinaryOperator.cpp line 124)

bump please

Never mind, made my own node for this based on MakeArray. It will always merge the byte arrays in the correct order now.