3 ms·
can you just overload the operators '==' and '&&' to mean something else? Like, set 'a' to contain a string like '0123456789' and then overload '==' to just me
by abakker 9y ago
can you just overload the operators '==' and '&&' to mean something else?
Like, set 'a' to contain a string like '0123456789' and then overload '==' to just mean "check if this number is in the string" then it works.