www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15286] New: is(typeof(symbol))

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 puremagic.com
          Reporter: luis 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.

--
Nov 04 2015