
21 Mar
2010
21 Mar
'10
1:44 p.m.
Lorenzo Caminiti wrote:
Hello all,
Is there a way I can check if a class has a given member function using metaprogramming?
What I need is to check at compile-time if a function is overriding a virtual function or not. In the example below, z::f is overriding x::f but not y::f (which does not exist) and the compiler knows that -- is there a way I can extract that information from the compiler?
Well, there is an introspection library in the vault but I think I didn't took this case into account. Worth a try tough -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35