5 Aug
2005
5 Aug
'05
5:56 a.m.
David Abrahams wrote:
However, reliably taking the address of an overloaded function involves knowing the exact types in its signature. I'm not sure how you can do that.
I have googled a bit and found the following example in the Microsoft C++ reference: http://tinyurl.com/cljnn int Func( int i, int j ); int Func( long l ); ... int (*pFunc) ( int, int ) = Func; Do you see any problems with this? I guess it should be possible to take an address of an operator by replacing 'Func' with e.g. 'operator<'. I'll try it and report the result.