Date: Fri, 25 Nov 2022 09:42:56 -0800
On Friday, 25 November 2022 09:25:48 PST Jason McKesson via Std-Proposals
wrote:
> > Then use std::variant<wxControl *,wxTextEntry *> instead of a variant of
> > the actual types.
>
> That wouldn't work either. Remember: the feature is to have it be
> inherited from *both*, not one or the other. `variant` is the wrong
> tool.
I know that now, after reading your earlier email. I didn't when I wrote this
reply above, it wasn't clear from the proposal that this was the objective.
Please ignore it.
wrote:
> > Then use std::variant<wxControl *,wxTextEntry *> instead of a variant of
> > the actual types.
>
> That wouldn't work either. Remember: the feature is to have it be
> inherited from *both*, not one or the other. `variant` is the wrong
> tool.
I know that now, after reading your earlier email. I didn't when I wrote this
reply above, it wasn't clear from the proposal that this was the objective.
Please ignore it.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2022-11-25 17:42:57