www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Getting overloads for non-member functions

reply "Simen kjaeraas" <simen.kjaras gmail.com> writes:
Is there a way to get a list of overloads for a function name in D?

For member functions, there's __traits( getVirtualFunctions, ... ), but  
that don't work for free functions.


-- 
Simen
Jan 14 2010
parent Lutger <lutger.blijdestijn gmail.com> writes:
On 01/14/2010 11:38 PM, Simen kjaeraas wrote:
 Is there a way to get a list of overloads for a function name in D?

 For member functions, there's __traits( getVirtualFunctions, ... ), but
 that don't work for free functions.
I'm afraid there is no way. See also this blog: http://kirkmcdonald.blogspot.com/2007/07/inadequacies-of-traits.html
Jan 15 2010