www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21378] New: `pragma(inline)` should allow not only a bool


          Issue ID: 21378
           Summary: `pragma(inline)` should allow not only a bool literal
                    but any CTFE expression that converts to bool
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

details in NG discussion :
https://forum.dlang.org/post/htcqemkoacwyszadsrqj forum.dlang.org

Nov 12 2020