[Fwd: How to take the member function as the function argument?]

me22 me22.ca@gmail.com
Thu Feb 15 02:19:00 GMT 2007


On 2/14/07, benjamin <benjamin.batistic@triera.net> wrote:
>                        return naredi(&Uporaba::sestej,a,b);
>
> But is this the most elegant way?
>
As gcc probably told you, you cannot take the address of a member
function in C++ without using the & operator, so that seems like the
most reasonably way to me.



More information about the Gcc-help mailing list