www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19470] New: No example for __traits(isStaticFunction)

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

          Issue ID: 19470
           Summary: No example for __traits(isStaticFunction)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: snarwin+bugzilla gmail.com

On the "Traits" page of the language spec, most of the traits listed are
accompanied by examples, but isStaticFunction is not. An example would be
useful here to clarify which kinds of functions have context pointers and which
do not.

--
Dec 09 2018