[ub] type punning through congruent base class?

Ville Voutilainen ville.voutilainen at gmail.com
Mon Jan 6 17:11:36 CET 2014


On 6 January 2014 17:34, Fabio Fracassi <f.fracassi at gmx.net> 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&?


More information about the ub mailing list