Re: address of overloaded function with no contextual type information

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

 



Tiago Maluta wrote:
Hi Adam,

Change the line:
          int (*doAPtr) () = &thingA< T >::doA< 2 >;

To:
int (*doAPtr)() = &thingA< int >::doA< 2 >;

--tm
Yes, that works but it isn't what I need. Luckily I just figured it out! That line should be:

int (*doAPtr) () = &thingA< T >::template doA< 2 >;






[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