Summary: enforce cannot be called with template parameters and
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Rob Jacques <> 2009-12-12 22:00:37 PST ---
The following test case:

enforce!(bool,"hi",5)(true, "hi");

results in an error:

Error: template instance enforce!(bool,"hi",5) matches more than one template
declaration, enforce(T,string file = __FILE__,int line = __LINE__) and
enforce(T,string file = __FILE__,int line = __LINE__)

using DMD 2.037.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to