[Issue 9065] Please consider adding these std.traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 25 01:19:43 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9065



--- Comment #10 from David Nadlinger <code at klickverbot.at> 2012-11-25 01:19:38 PST ---
(In reply to comment #9)
> std.traits operates on types, so I would not expect isSomeFunction!bar to ever
> work. You need to pass it a type. That's how everything in that module works.

This is definitely not true. Just have a look at isSomeFunction/isCallable
resp. their unit tests.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list