7/2 How do people pronounce C++'s "operator()"?
\_????? Do you mean you are overloading the empty constructor?
\_ Hi. You are stupid.
\_ Hi dickwad, how's how's life going being a constant
asshole? Anyway, I found the answer, it's called a
"function call operator" if OP meant foo(a,b). Since
OP was somewhat ambigious it could also refer to overloading
the cast operator.
\_ Actually, it couldn't. Unless OP didn't know what he
was talking about, of course. There seems to be a lot
of that going around.
\_ Agreed, since it would require the casting rvalue
notation in front of it to be overloading casting.
However, given the attitude of people on MOTD these
days they could've said "oh, well, what I meant
was..." and wiggle their way out of it. Anyway,
I certainly hope OP isn't overloading () on a regular
basis. Thanks for reminding me what a dog the
language of C++ is.
\_ Correction, /rvalue/type. |