
13 Nov
2004
13 Nov
'04
4:19 p.m.
"Bronek Kozicki" <brok@rubikon.pl> wrote in message news:4195FD3C.4010801@rubikon.pl...
Jonathan Turkanis wrote:
Hi All,
I'm writing a macro-based interface definition language, which I hope to post soon. For this, I need to be able to detect the presence of member functions with given name and signature. My current formulation generates code like the following to test whether a class has a non-const member function named 'one' with the signature char(int, float):
Attached code works in MSVC71. Maybe this will give you some idea.
Thanks! I'll try it later today. Perhaps Terje Slettebo would also be interested in this. Jonathan