Date: Fri, 13 Feb 2026 20:05:27 -0800
On Fri, Feb 13, 2026 at 7:32 PM Renji Panicker via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Per existing C++ rules:
> 1. The return type does not contribute to the function signature.
True
> 2. The return type of the derived function must necessarily always match that of the base class virtual function.
Not true. Overridden member functions may return a covariant type.
<std-proposals_at_[hidden]> wrote:
>
> Per existing C++ rules:
> 1. The return type does not contribute to the function signature.
True
> 2. The return type of the derived function must necessarily always match that of the base class virtual function.
Not true. Overridden member functions may return a covariant type.
Received on 2026-02-14 04:05:40
