Purely academic, so I put it in bar sport.
Does the ! operator do anything when it comes behind a number? Like 4!. Would it be possible to redefine it somehow to return the factorial of a number when used with a single argument to the left.
Even if not in C++, I've been trying to think through possible use cases in my head where it could be ambiguous with the one with a rhs argument. It seems like it would mostly show up in expressions with another operator to one side or the other depending on use. But I'm not sure I'm thinking through all of them. Anybody see one?