www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18665] New: Deprecate the undocumented opCom to specify


          Issue ID: 18665
           Summary: Deprecate the undocumented opCom to specify
                    user-defined negation in favor of opUnary
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

Looks like DMD supports explicitly overloading ~ with opCom:


- It's only used on std.bitmanip
- It's not mentioned in the spec
- It doesn't appear on Google

This should be deprecated in favor of opUnary

Mar 26 2018