I want to override operator== and define a static function in header:
UFUNCTION(BlueprintCallable, BlueprintPure)
static bool operator==(const AItem* ItemOne, const AItem* ItemTwo) const;
but it occur an error:
error : Bad function definition
how can I fix it?