[Issue 4427] __traits should have isFunction, isVariable, etc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 29 00:06:54 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4427
--- Comment #14 from Rob T <alanb at ucora.com> 2013-03-29 00:06:50 PDT ---
(In reply to comment #13)
I would like to see something like isNullable(T) that evaluates to true if the
type value can be assigned a null.
Eg,
struct S { ... }
S* s;
class C { ... }
isNullable( S ) is false
isNullable( typeof(s) ) is true
isNullable( C ) is true
--rt
--
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