[Issue 16514] New: std.socket methods are const, and thus cannot be overriden for SSLSocket, for example

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 20 12:20:51 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16514

          Issue ID: 16514
           Summary: std.socket methods are const, and thus cannot be
                    overriden for SSLSocket, for example
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: ketmar at ketmar.no-ip.org

commit 1fc5f9b34ca9bb333ee429ab2ca39e07c3304f01 made most of virtual methods of
std.socket `const`, and now it is not possible to do any internal housekeeping
in overriden methods. bind, connect, listen, accept...

this should be reverted.

--


More information about the Digitalmars-d-bugs mailing list