SG wrote:
> Care to provide some code here?
I noticed that the pretty printer (takes a type and creates a string)
I wrote some time ago:
http://geometrica.saclay.inria.fr/te.../printtype.cpp
doesn't work on const member functions. I experimented a bit to see if
it was really necessary to make 4 copies (const, volatile) of the code
dealing with functions (apparently it is) and noticed some
inconsistant behavior which I reported here and then on the gcc
bugzilla.
> Otherwise I don't see the need to discuss anything further.
Well, the question has already been answered...
> Have you thought about what I said w.r.t. function objects?
I completely agree that function objects are nicer than functions and
that utilities like mem_fun are useful. I was more interested here in
how these utilities are implemented, and indeed some of them have a
large number of specializations to handle all of these function types.