What are the benefits? That's kind of hard to explain. It allows you to supply behaviour to template functions, I think that's the most common use.http://stud3.tuwien.ac.at/~e0226430/....xhtml#functor
Here I give one example what the use could be. Requires a browser that accepts application/xhtml+xml. (Not IE)

All the buzzt! CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law

*ehem* I haven't been posting too much in the past...well year or two, but I can still spot a homework assignment when I see one. Did you guys really need to do it for him/her without questioning the motives of misguided student?

If that's a homework assignment, then the teacher needs a lesson on how to develop homework assignments that are clear in their intent. If you can explain conversion operator declaration/syntax or function object/functor declaration/syntax without an example, I'd be happy to see it.

No! It is not THE homework assignment. The assignment requires the building of a heap priority queue, which involves over 11 steps. The overload was a requirement for the queue. I asked about its use to understand how to apply it to the code. I would have provided the specific instructions for its implementation if I wanted to cheat.