www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19499] New: __c_long_double brake template specialization


          Issue ID: 19499
           Summary: __c_long_double brake template specialization
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ilyayaroshenko gmail.com

// Mircrosoft C Runtime
import core.stdc.config;
enum A(T : double) = true;
enum A(T : __c_long_double) = false;
pragma(msg, A!double); // Error in 2.083, compiles in 2.082

The pattern is used in Mir for integration with Python.

Dec 18 2018