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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/14/07, benjamin <benjamin.batistic@xxxxxxxxxx> 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.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux