[Issue 15286] New: is(typeof(symbol))

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 4 09:47:27 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15286

          Issue ID: 15286
           Summary: is(typeof(symbol))
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: luis at luismarques.eu

The use of an is expression with the form `is(typeof(foo))`, such as in `static
if(is(typeof(maybe_this_exists))`, is not documented in
<http://dlang.org/expression.html#IsExpression> and is not an obvious
composition of documented D features. Therefore, it would be nice if this was
documented.

--


More information about the Digitalmars-d-bugs mailing list