I don't know if we have discussed this already, but relying on implicit pointer-to-bool casting reduces readability. Please use 'target != nullptr ? ...' here