[Issue 15360] New: typeof is not a template argument

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 18 23:26:06 PST 2015


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

          Issue ID: 15360
           Summary: typeof is not a template argument
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: deadalnix at gmail.com

I have a template isErrorizable. When I try to do isErrorizable!typeof(stuff),
I get "template argument expected following !"

Looks like an arbitrary limitation to the grammar.

--


More information about the Digitalmars-d-bugs mailing list