I was working on a project when I thought that maybe a ::. operator would look funny in some code. Just for fun I typed that into the global scope area like this:

::.
int main()
{
//etc...

and my code completion software said too many results to display. My question is what results could it be talking about? Is it possible to define global operators?

Yes you can Overide any operator you want. This can be done globally or at a specific level.

Thanks firstPerson I forgot about the special casses.

Thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.