Thread overview | |||||
---|---|---|---|---|---|
|
October 12, 2009 Getting overloads of free functions | ||||
---|---|---|---|---|
| ||||
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? |
October 13, 2009 Re: Getting overloads of free functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lutger | 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).
|
October 13, 2009 Re: Getting overloads of free functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christopher Wright | 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.
|
Copyright © 1999-2021 by the D Language Foundation