Make a constant vector and give it NaN for x,y components.
Be careful, if I remember correctly some special floating point number(s) can never equal others, even themselves. I don't know if it's the case for NaN.
EDIT: wikipedia confirmed that, NaN
is not equal to NaN, and that's the only number to have such a property (+Inf
is equal to +Inf, for example)
not necessary for SFML.
I would even say: not a good idea at all.