www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16514] New: std.socket methods are const, and thus cannot be

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 puremagic.com
          Reporter: ketmar 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.

--
Sep 20 2016