Subclass TcpSocket?
Enamisu
norukaenamisu at gmail.com
Tue Mar 18 07:03:30 UTC 2025
On Monday, 17 March 2025 at 22:14:21 UTC, Andy Valencia wrote:
> The presence of the "accepting" API in Socket seems to indicate
> that subclassing Socket/TcpSocket is intended to be supported.
> But I'm just not seeing my way through the twisty maze of pure
> and @nothrow barriers?
>
> [...]
It seems to me that the accepting method should return TcpSocket,
not WrappedTCP.
More information about the Digitalmars-d-learn
mailing list