www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Getting overloads of free functions

reply Lutger <lutger.blijdestijn gmail.com> writes:
Probably has been discussed before but I couldn't figure it out:

Is it possible to retrieve the signatures of overloaded functions (not 
virtuals) at compile time?
Oct 12 2009
parent reply Christopher Wright <dhasenan gmail.com> writes:
Lutger wrote:
 Probably has been discussed before but I couldn't figure it out:
 
 Is it possible to retrieve the signatures of overloaded functions (not 
 virtuals) at compile time?
No. You can't even get all the overloads of class methods at compile time (only non-private non-static methods, as I recall).
Oct 12 2009
parent Lutger <lutger.blijdestijn gmail.com> writes:
Christopher Wright wrote:

 Lutger wrote:
 Probably has been discussed before but I couldn't figure it out:
 
 Is it possible to retrieve the signatures of overloaded functions (not
 virtuals) at compile time?
No. You can't even get all the overloads of class methods at compile time (only non-private non-static methods, as I recall).
That sucks.
Oct 13 2009