Otherwise you get warnings if you try and make an Array of SafePointers.
warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'A' and 'A') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
Comparison operators require both the function to be const and the parameter to be const, which isn’t the case for the other == operator. And adding const to it breaks a bunch of other stuff. I’m not a C++ template master, maybe it can be fixed.
Same problem in combination with juce::WeakReference. Triggered in this case by tracktion.
ISO C++20 considers use of overloaded operator '==' (with operand types 'const juce::WeakReference<tracktion_engine::Selectable>' and 'const juce::WeakReference<tracktion_engine::Selectable>') to be ambiguous despite there being a unique best viable function