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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 13 01:13:25 PDT 2016


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

--- Comment #9 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Oops, meant to paste link to PR.

https://github.com/dlang/phobos/pull/4858

(In reply to Vladimir Panteleev from comment #1)
> I wonder if we could provide protected non-const and public const overloads.

No because then you get "class Y use of X.fun() is hidden by Y; use 'alias fun
= X.fun;' to introduce base class overload set" errors.

--


More information about the Digitalmars-d-bugs mailing list