www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15360] New: typeof is not a template argument


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

Nov 18 2015