really no one want describe why visit([](...) {}, value) just compiles into undefined behavior? We want to not change THIS behavior in standard?

сб, 3 июн. 2023 г. в 19:48, Thiago Macieira via Std-Proposals <std-proposals@lists.isocpp.org>:
On Saturday, 3 June 2023 04:09:17 PDT Nikl Kelbon via Std-Proposals wrote:
> So i propose to allow pass non-trivial types to C-style variadic by passing
> void* (and materialization + pass address  for prvalues) to them or atleast
> remove this error-provoking hole.

I don't even know if this is a reasonable suggestion. It's such a fundamental
change that it requires a full paper and exploration of side-effects.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering



--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals