On Fri, Nov 28, 2025 at 4:20 AM Daniel Cheng <[email protected]> wrote:

>
>
>
>>
>> These members were there all along. It's just that they are more visible
>> now
>> instead of being hidden away by compiler-generated code; I consider that a
>> good thing. We haven't created more layer violations -- if A is not
>> allowed
>> to hold B, it shouldn't be allowed to do so through a Supplementable-like
>> system either IMO (and Supplementable had big warnings on it that it was
>> prone to type confusion if used with inheritance).
>>
>
> Though `Supplementable` and `base::SupportsUserData` have sharp edges and
> could use improvement, the underlying abstraction still has value.
>

Perhaps this is a good opportunity to design a Supplementable V2 that
polishes the rough edges?

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAAjAU%3DZ4%3DQbtgLWggcRvWaOgtz-2AZOa2Uvz0D0dSpn-3vJ%3D8A%40mail.gmail.com.

Reply via email to