January 14, 2010 Getting overloads for non-member functions | ||||
---|---|---|---|---|
| ||||
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
|
January 15, 2010 Re: Getting overloads for non-member functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen kjaeraas | 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 |
Copyright © 1999-2021 by the D Language Foundation