2 problems I can't get my head around

Manu turkeyman at gmail.com
Mon Nov 26 10:32:39 PST 2012


On 26 November 2012 20:27, David Nadlinger <see at klickverbot.at> wrote:

> On Monday, 26 November 2012 at 16:32:17 UTC, Manu wrote:
>
>> And fail! functionAttributes breaks when I pass basically anything that's
>> not a function >_<
>>
>
> Answer quick: What would the function attributes be of something that
> isn't a function?


No attributes I guess.
If it's the only way to test if something is a property, then it needs to
be able to accept anything I give to it that may or may not be a property.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121126/698eeebc/attachment.html>


More information about the Digitalmars-d mailing list