C++ Logo

SG12

Advanced search

Subject: Re: [ub] type punning through congruent base class?
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2014-01-06 10:11:36


On 6 January 2014 17:34, Fabio Fracassi <f.fracassi_at_[hidden]> wrote:
> It would enable us to extend or change the interface of a class without
> copying or moving the underlying object (think mixin without additional data).

Why don't you just construct D with a B&?


SG12 list run by herb.sutter at gmail.com